Tagged Questions

SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

learn more… | top users | synonyms (1)

0
votes
0answers
15 views

SSH can not connect remotely, but I can ssh via local ip

This is a new server with ubuntu 14.04. I can ssh locally (via 192.168..). But when I ssh remotely it cannot be connected after I input the password. here is server sshd_config # Package generated ...
1
vote
0answers
18 views

SSH to host machine not possible from network

My system running Ubuntu 14.04 is a part of a subnet (192.168.3.XX) and everything used to work all fine; but recently, no other system on this subnet can access my machine, though I can access every ...
0
votes
1answer
12 views

Error connecting to server. “ Failed to startup SSH: Connection refused ”

I'm trying to get into my Ubuntu 14.04 files remotely from my laptop via wired connection but I keep getting " Failed to startup SSH session: Connection refused ", I have setup the samba shared ...
1
vote
0answers
17 views

SFTP timeout but SSH works fine

I am unable to sftp (or scp) into my server setup but am able to ssh just fine. I am using key authentication for both. When I sftp it just hangs forever and doesn't give me the sftp prompt. Here is ...
0
votes
2answers
29 views

SSH from iPhone

I installed openssh server on Ubuntu 14.04. My machine name is called "machine" and my username is "machine" so that when I'm on a terminal it says "machine@machine". Question: When I try to connect ...
0
votes
1answer
17 views

DNS points to the right IP, but I can't SSH based on DNS

I can connect remotely to my system using the IP address, the DNS returns the proper IP, but I can't connect via a DNS record. i.e. matt@pontus:~$ ssh fake.myDnsExample.com ssh: connect to host ...
0
votes
2answers
23 views

rsync + ssh public key asking authentication

After creating the keys and use ssh-copy-id command successfully, I can connect by ssh user@host but when I'm trying to do a transfer via rsync and it asks for password... rsync command is as follows: ...
0
votes
0answers
10 views

SSH connection refused after reconnect for short period of time (EC2 AWS)

If I haven't connected via SSH to one of my EC2 Ubuntu instances I can connect straight away, but if I disconnect and reconnect quickly I get a connection refused message and I have to wait a few ...
0
votes
0answers
12 views

Is there a way to have a user account to have different user password and ssh password?

I am connecting to an Ubuntu 14.04 server through SSH using a sudo user with a randomly generated password (very lengthy). Of course running a command with sudo requires me to enter that lenghly ...
0
votes
1answer
18 views

Protect sensitive data on laptop

I planning to take my Ubuntu 14.10 laptop to the computer service for some cleanup. Should I care about my sensitive data safety? Is it possible to stole from system storage device: SSH keys ...
1
vote
1answer
16 views

Why ssh shows Desktop folder as a file?

I am using ssh to accessing a server and I could use scp to copy some files to server Desktop by: scp T.tar.gz username@serverIP:/home/username/Desktop but now I cannot access to server Desktop ...
0
votes
0answers
36 views

Teamviewer not working (no connection)

I installed teamviewer on an Ubuntu 14.04 machine. I downloaded from the Teamviewer homepage the 32-bit version and run: sudo dpkg -i teamviewer_linux.deb I usually use this machine directly (not ...
1
vote
0answers
14 views

Custom MOTD does not update until scripts finish

I recently got a small server and gave some friends accounts on it. They all have their own web pages in ~/public_html using lighttpd so I wrote a script to backup every user's public_html directory. ...
1
vote
1answer
17 views

Setting up user to download files with no shell access

I've created a user and set its shell to /usr/sbin/nologin. As expected, a PuTTY connection closes immediately after connection. When trying to get WinSCP to connect with the SFTP protocol, it says ...
0
votes
0answers
8 views

ssh error into different ubuntu account permission denied

I have two instances of ubuntu installed on my VirtualBox. First instance name is aks@aks-VirtualBox and the second instance name is erica@HBMaster. Now when I try to ssh from first instance to 2nd ...
0
votes
0answers
16 views

What is missing in my webserver ufw firewall configuration?

sudo ufw enable sudo ufw logging on sudo ufw allow proto tcp from any to any port 9999 sudo ufw allow proto udp from any to any port 9999 sudo ufw allow 80 sudo ufw app apache sudo ufw app OpenSSH ...
1
vote
1answer
22 views

Rsync behind a proxy

I'm working behind a proxy with credentials (username/password). The proxy ip is 10.302.34.02 on port 8080. My credentials are myusername / mypassword On the remote host, ssh is configured on port ...
1
vote
1answer
42 views

Available updates not shown when login to terminal Ubuntu 14.04

When I login to my server terminal over ssh I just see: Using username "username". Ubuntu 14.04.1 LTS Authenticating with public key "mykey" from agent Last login: Wed Oct 22 09:17:02 2014 from ...
0
votes
0answers
12 views

ck-list-sessions remains empty after a log in, loginctl works right

A while back (upgrade to 13.04 if I'm correct) the polkit-1 I had on a couple of computer stop working (right). Before, I could log in as admin via SSH and the X11 users could not log out (they would ...
0
votes
1answer
27 views

How may I do a SSH tunneling?

After reading an article about how cool can SSH be, I tried the solution given there about tunneling your connection. This is the very first time I try this. I've opened a terminal and typed: ssh ...
0
votes
1answer
17 views

SSH - buffer_get_ret: trying to get more bytes 4 than in buffer 0

I am trying to make a tunnel. When I run command ssh [user]@[host] -p [port] -L [localport]:[ip]:[port2] -N -vv -y -i /home/glab/.ssh/id_rsa the tunnel starts. Bu the problem is that it after ...
0
votes
1answer
20 views

network error: connection refused after killing one process I guess

I started ssh tunnel process with supervisor. Then I wanted to find out which is that process and to kill it. Did not know how to identify so killed one by one to find out does my tunnel still work. ...
0
votes
1answer
21 views

Login welcome message but no shell?

I've created a user on my Ubuntu machine so that some people can log in and set up SSH tunnels and also so they can download some files from the system. I don't want them to have shell access at all. ...
0
votes
1answer
24 views

Why does this scp command fail? (Host Key Verification failed)

Today I learned that I can execute simple commands without actually ssh'ing into the target host. For example, when I run this commmand ssh target_machine ls /tmp The machine will ask for my password ...
0
votes
0answers
17 views

How to create users using their public key?

I would like to create accounts on VPS running Ubuntu 14.04. And I want to use their RSA public keys, so do I need to copy the content of the file and paste it inside the /.ssh/authorized_keys file? ...
0
votes
0answers
34 views

How do I unlock my SSH keys on login in Ubuntu Server?

I'm making a new server that will pull backups from multiple sources on a schedule, so I'd like it to connect via SSH using a key. Setting this up in Ubuntu 14.04 Desktop is trivial, you write the ...
0
votes
0answers
11 views

Can't connect to SSH with new user

I created a new user, test. I have done the following to the account: I've given test sudo permission I've added test to AllowUsers in nano /etc/ssh/sshd_config I've generated a new SSH key pair, ...
1
vote
0answers
23 views

No MOTD on Ubuntu 14.04…?

I recently did a fresh install of Ubuntu 14.04. When I SSH, there is no MOTD (and yes, I have the appropriate command set in sshd_config). I read a bunch of tutorials about setting up MOTD, but I ...
0
votes
0answers
9 views

How to sync using port forwarding

I have my home computer A and a work computer C that I want to synchronise using unison. In the middle is a work computer B. A can communicate with B and B can communicate with C directly but A and C ...
0
votes
1answer
11 views

How do I detect if the current session is an SSH session via bash?

I would like to detect whether the current user session is from an SSH connection - that is, whether the user is physically sitting at the computer that hosts the current terminal or whether he is ...
0
votes
0answers
15 views

Can't start firefox on remote server without crashing X on local host

Running: Ubuntu 13.10 The situation is the following: I log in to the remote server with ssh -X user@remote and that is fine. However, once logged in, I type firefox it crashes the local X-session. ...
1
vote
1answer
39 views

SSH configuration problems with Ubuntu 14.04

I'm stumped, after reading online for a bit. I'm trying to enable agentforwarding on all hosts (I know this isn't recommended, but I know the servers I'll be touching from this box) and to disable ...
1
vote
1answer
39 views

Access Ubuntu SSH Server from Ubuntu Desktop

Hi I have a Ubuntu Server and I have configured public and private key on that server. Previously I was using Windows 7. So I just installed Putty and was accessing my Ubuntu Server from Windows 7 ...
3
votes
1answer
52 views
+50

Set user- or group-specific MOTD in SSH

I would like to disable or change the MOTD shown on SSH login on a per-group/per-user basis. This question on SuperUser has an answer stating that I can use Match blocks in sshd_config. However, man ...
0
votes
0answers
31 views

Directory / File Permissions [duplicate]

I want to start out by apologizing if this question has already been answered somewhere else and I just haven't run across it yet. I have been searching Ask Ubuntu as well as many other forums for ...
-1
votes
3answers
62 views

How access openssh-server with external IP address from outside the Local Area Network

How can I use my new openssh-server with the external IP address from outside the Local Area Network? The purpose is that an external computer administrator from outside the Local Area Network should ...
0
votes
1answer
19 views

Is there a way to limit traffic to just SSH?

I am going to be using my phone as a mobile hotspot so I can SSH from my laptop into my home server, as the phone is my only available data currently. Is there a way to limit the connections on the ...
0
votes
0answers
54 views

Cannot find google chrome terminal command

I'm connecting to my machine at the university using the ssh - X command. I want to launch google chrome from my terminal in order to get access to some website only available through my university's ...
1
vote
0answers
13 views

I cannot install openssh-server [duplicate]

When I go to install, I get this error: $ sudo apt-get install openssh-server The following packages have unmet dependencies: openssh-server : Recommends: ssh-import-id but it is not going to be ...
0
votes
0answers
21 views

SSHFS tutorial clarification in help.ubuntu.com/community/SSHFS

https://help.ubuntu.com/community/SSHFS describes how to use SSHFS. The description is somewhat ambiguous. I have tried several combinations of the permissions and ownerships of the directories ...
0
votes
0answers
8 views

How to connect to a local forwarded port from a third machine.

If I ssh connect into a server for VNC, for example, ssh root@IP -L6500:localhost:5901 I can connect to VNC just fine on that machine (locahost:6500). But if I have a phone on the local network, ...
0
votes
1answer
23 views

can I use scp in same network(wifi) to send file

while reading about file transter in linux I got: We can also move files securely using Secure Copy (scp) between two networked hosts. scp uses the SSH protocol for transferring data. To copy a local ...
1
vote
1answer
49 views

Trying to establish a remote SMB connection over SSH

Please be gentle with me I'm new to Ubuntu and have a basic network knowledge! I'm trying to establish an SMB share via a secure ssh connection from a windows PC to a remote Ubuntu machine. Some ...
0
votes
0answers
39 views

My ssh connecting time is slow. How can I correct this?

My connection was very slow while I was trying connect to a server. ssh -vvv username@server_ip OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config ...
1
vote
0answers
29 views

Setting up a preferred network interface in linux

I need to set up the network interfaces of a linux box running Ubuntu Server. The box will be deployed in an industrial vehicle and will operate headless (i.e. no monitor, no keyboard/mouse). The ...
0
votes
0answers
23 views

Installing ubuntu server using Network Console

I have a bit of a weird situation, I have a laptop (an old Macbook 3,1) with a half broken screen. I want to install Ubuntu server on the computer but it turns out to be quite a difficult endeavour. ...
0
votes
1answer
22 views

Mount and external hard drive on an Amazon ec2 Ubuntu server

I'm using the amazon EC2 servers for the first time, so I'm sorry if i'm not understanding something obvious. I alredy created and connected to an EC2 instance with a ssh connection. I'm trying to ...
0
votes
0answers
12 views

If I turn on the Firewall I cannot connect to the internet

I run GUFW but even on any setting I cannot access the internet if its turned on. Why would this be? I also noticed in the "Listening" box that theres a lot of info going on which I don't understand ...
0
votes
2answers
28 views

SSH + Keys + noip

I'm hoping you guys can help. I've been searching for along time with reading the information on noip.com and couldn't figure out anything. I've set up an SSH server on a home computer. I changed ...
0
votes
0answers
56 views

Trouble ssh connecting with Putty from windows to ubuntu

Hello all I've been looking all over this form for answers but I just can't seem to get it right. First time ubuntu user, and linux user for that matter. I have openssh-client and openssh-server ...