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

learn more… | top users | synonyms (1)

10
votes
5answers
2k views

Is syncing private keys a good idea?

Ubuntu One's Security FAQ indicates that Canonical encrypts connections and restricts access to user data. This all well and fine, and I do trust SSL for online banking and other things more valuable ...
10
votes
4answers
7k views

Wake from hibernate on ssh request

Is there a feature (or aptitude package) in Ubuntu 10.04 that will wake my computer up from standby when it gets an ssh (or other webrequest). I've been trying to put my computer in hibernate/standby ...
9
votes
1answer
23k views

Modify the SSH welcome message to include system IP address

I have had a couple of occasions where I was unable to remember the IP address for a given system but was, at the time, able to connect using the hostname. As an example, just now I wanted to set up ...
9
votes
3answers
8k views

How do I kill a locked SSH session?

From time to time, SSH sessions to my servers just freeze up and then neither Ctrl+C nor Ctrl+\ do anything. How do I quit the session without just closing the Terminal it's in? Clarification: ...
9
votes
3answers
15k views

Sharing files in LAN through Samba or SSH

I am able to share files between two Ubuntu machine and Windows machine but I have these problems which I can't solve. When I share files between two Ubuntu machines via LAN Computer1 to Computer2. ...
9
votes
3answers
55k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
9
votes
1answer
11k views

How do I send a notify OSD message to a remote user via ssh?

Sometimes we need to send a message to a remote user. We can display messages on our local desktop using Notify OSD, but we are unable to send a message to the remote user's desktop. We tried the ...
9
votes
1answer
9k views

Host alias for ssh

There are a few SSH destinations I will frequently be connecting to and I'm wondering if rather than remember the IP address I can create a host alias for them. I'd like to be able to use... ssh -p ...
9
votes
7answers
5k views

“Remote host identification has changed” warning when connecting over SSH

I got this message today when trying to log into my server. What should I do? Whats going on? $ ssh 10.10.10.69 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST ...
9
votes
1answer
14k views

Unable to start sshd

I'm new to Ubuntu and trying to start sshd but having a lot of problems. I've tried uninstalling and reinstalling ssh by running sudo apt-get remove openssh-client openssh-server and sudo apt-get ...
9
votes
2answers
6k views

What does “pts/” in the output of w mean?

When I run w - to see who is logged on and what they are doing, i see this: USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user tty7 :0 08:14 10:32m ...
9
votes
4answers
2k views

Is someone trying to hack into my server? What can I do?

A few weeks ago I posted a question here about some ssh issues I was having with an Ubuntu 12.04 box. Fast forward to today and I am trying to allow someone else access to the machine, but they keep ...
9
votes
1answer
899 views

How to get server MOTD on non-server install

Is there a way to get the fancy MOTD that shows up on an Ubuntu Server install on my Ubuntu Alternate install? Like this: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64) * Documentation: ...
9
votes
1answer
1k views

How to remotely control Banshee via SSH?

Banshee has the ability to control its main window from the command line using commands like $ banshee --next However when running these commands over ssh as the same user it simply tries to launch ...
9
votes
2answers
6k views

How can I reconnect to a ssh session after a broken pipe?

So I was running apt-get upgrade on a server when the router decided it had been too long since it last made me angry: It dropped all connection. Moral of the story is to use screen a lot when you're ...
9
votes
2answers
1k views

Sync Music from Banshee via SSH to Android Device

i want to transfer my music to my android device via ssh. I do that wireless because i do not always want to plugin the cable to sync some files. Is there a way banshee can recognize my android device ...
9
votes
1answer
2k views

Use local button styles during forwarded X11 session over SSH

Is it at all possible to have a forwarded X11 session be styled with something other than the default X button styles? It doesn't even appear to use my server's actual styles seeing as both computers ...
8
votes
2answers
353 views

Is it possible to use bzr on Launchpad without using port 22?

I'm trying to pull from and push to bazaar branches hosted at launchpad.net but my internet provider is blocking port 22. Is it possible to use port 80 or 443 instead?
8
votes
3answers
2k views

Use real browser instead of w3m on SSH connections

I am using Ubuntu as desktop and server OS. When I am logged in to the server via ssh on terminal and have to view a web-page (localhost) on the server I use w3m (w3m localhost). Unfortunately w3m is ...
8
votes
3answers
9k views

How to open the display from ssh login?

Is there any way to open the desktop display from terminal(ssh login)?
8
votes
2answers
6k views

How to set up an Ubuntu 10.04 machine to accept ssh requests only from within the local network?

I am about to install 10.04 (from bare metal to replace 9.04) and I want to set it up so that I can shh into the machine, but only from other machines on my local network. (I.e., I want to reject all ...
8
votes
3answers
36k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
8
votes
5answers
11k views

How can I permanently save a password-protected SSH key?

I am using Awesome Window Manager How can I permanently add private keys with password? Inspired by the answer here I have added the private keys in ~/.ssh/config Contents of ~/.ssh/config: ...
8
votes
2answers
26k views

SSH connection getting refused

I am new to linux and I am trying to establish a SSH connection with my friend's PC in the same LAN, but I am getting "ssh: connect to host 192.168.71.70 port 22: Connection refused". Both ways are ...
8
votes
2answers
10k views

Can I specify a port for certain IP address in SSH's config?

A ssh server on 192.168.1.45 listens on port 2222. I know I can just add -p2222 or add an alias in ~/.bash_aliases, but is there a way to force a certain port when I ssh a specified IP?
8
votes
3answers
5k views

Cannot ssh into new Vagrant install of 13.04

I used the Vagrant image for 13.04 from http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box to create a new virtual machine and tried to connect to it ...
8
votes
4answers
3k views

Is there a way to have wall messages show to desktop users?

Let's say I'm away from home, ssh-ing on my home computer. For any reason, I need it rebooted. # shutdown -r +10 This sends a warning message every minute via wall, which is completely invisible ...
8
votes
4answers
11k views

Log SSH activity

All, I have an Ubuntu host that accepts SSH connections. How can I log all commands that are run on a specific account that logs in via SSH? Thanks
8
votes
1answer
1k views

How to remove legal notice from MOTD / Banner for non-root users

Problem: The following text is shown for all non-root users when logging in via SSH: The programs included with the Ubuntu system are free software; the exact distribution terms for each ...
8
votes
3answers
4k views

How to open ssh://username@hostname link

I want to open link like "ssh://username@hostname" with ssh. I think xdg-open can help me(xdg-open ssh://username@hostname), but I don't know how. How can i do it?
8
votes
1answer
2k views

How can I adjust the default passphrase caching duration for GPG/PGP/SSH keys?

As far as I know, gnome-keyring-daemon caches passphrases for keys by default until I log out. I would like to set the default to something like "cache for 10 minutes". How can I do that in Ubuntu ...
8
votes
1answer
5k views

Change terminal colour based on SSH session

Is it possible to automatically change the color of the terminal based on which server I am connected to through SSH? For instance, when I fire up the terminal it has the standard colors defined ...
8
votes
4answers
4k views

How can I autostart a SSH -D tunnel at login for a SOCKS proxy?

I know that if I want to start an SSH tunnel ssh -d 9000 user@userserver This is one solution for a dynamic tunnel to be opened on port 9000 for a user named "user" on the host "userserver" ...
8
votes
1answer
7k views

NX/SSH remote access with Remmina

After many days and a lot of frustration, I managed to get freenx to work on my home server. I can connect to it with nomachine's linux client, but I want to use Remmina for this purpose. The problem ...
8
votes
2answers
2k views

ssh key administration for many users, servers

My company has some remote Ubuntu servers. The access to these servers is controlled by ssh keys. Managing these keys is quite a pain, especially when an employee leaves or joins the company. Is ...
8
votes
1answer
2k views

How can one unlock a fully encrypted Ubuntu 11.10 system over SSH at boot?

In previous versions of Ubuntu, and current versions of Debian, you can unlock a fully encrypted system (using dmcrypt and LUKS) at boot time over SSH. It was as easy as: Installing the encrypted ...
7
votes
5answers
318 views

Why is openssh-server needed to receive incoming ssh connections?

Why is it needed? can't I just give an address:port and just "connect"?
7
votes
6answers
14k views

SSH server not working (respawns until stopped)

I have a running Ubuntu Server 10.04.1. When I tried to login to the server via ssh, I could not. Instead, I got connection refused error. I tried to ping the machine and I got reply! So, the clear ...
7
votes
2answers
5k views

connecting a SSH tunnel on reboot?

How can i reestablish a Tunnel if my localhost goes down? i have 2 machines, Remotehost and localhost, on my localhost im running autossh to keep the tunnel alive in case of network problems. ...
7
votes
3answers
11k views

git ssh :Permission denied (publickey)

I tried to use github so I followed the help doc. But when I used this command : ssh -vT git@github.com I got error like this: jacos@Jing:~/.ssh$ ssh -vT git@github.com OpenSSH_5.8p1 Debian-7ubuntu1, ...
7
votes
2answers
10k views

copy with ssh with port other than 22

How do I copy files from my local to some remote server which hosts ssh on port other than default (22). I usually connect to the server using ssh username@remotehost.com -p 2000 Now I need to ...
7
votes
1answer
6k views

Mount remote directory using SSH [duplicate]

How to mount a remote directory using ssh to be available same as if it is a local directory?
7
votes
2answers
5k views

How to get output from upstart jobs when logged in via SSH?

To monitor what my job definitions are doing, I would like to see text output from the jobs. That does not seem to be possible when I am logged on via SSH. I am having this problem with Natty 11.04, ...
7
votes
2answers
19k views

Remote login with graphical display manager (GDM, LightDM)

Is it possible to remotely (via ssh) make a login to GDM? I'll explain a situation in which I'd need this: I'm on my laptop and connect to my desktop via ssh. I realize there are some updates ...
7
votes
4answers
8k views

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no ...
7
votes
2answers
18k views

How to SSH on a port other than 22

I have two computers behind the same router. Let's call them A and B. A can SSH to B in the following manner: ssh usr@<internal ip of computer> B can SSH to A by doing the same, but the ...
7
votes
2answers
3k views

SFTP GUI +SSH Key

Is there any application that allows connecting via SFTP using private keys rather than password? I know that I can do that via Nautilus, but I would prefer some standalone application.
7
votes
1answer
4k views

Saving SSH shell links in launcher like putty

I mean how can I bookmark a ssh root@ip command in the launcher so when I click on the icon and a shell is prompt to me asking credentials for the connection to the server shell?
7
votes
3answers
3k views

How to disable the keyring for SSH and GPG?

How to disable the keyring for SSH and GPG ? I would like to keep the keyring for the wifi and other stuff. I'm using Ubuntu 12.04.
7
votes
2answers
12k views

SSH new connection begins to hang (not reject or terminate) after a day or so on Ubuntu 13.04 server

Recently we upgraded the server from 12.04 LTS server to 13.04. All was well, including after a reboot. With all packages updated we began to see a strange issue, ssh works for a day or so (unclear ...