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

learn more… | top users | synonyms (1)

12
votes
10answers
4k views

Long wait time on login

When I log in on my server I get this: No mail. Last login: Fri Nov 5 14:22:45 2010... then I must wait for 5 sec and then is ready... wolfy@ubuntu-server:~$ Is this wait time normal or should ...
12
votes
7answers
17k views

Where is “Connect to Server” for ssh connections in Unity?

Cannot find "connect to server" in 11.04, looks like unity doesn't have it. Is there other very similar way to connect to another Ubuntu computer via SSH? (not in terminal)
12
votes
5answers
17k views

Is it possible to SSH through port 80?

I am behind a network firewall that doesn't let me ssh through the default port. Because of that, I can't push any bzr branches to my repository. I would like to know if it is possible to somehow ...
12
votes
4answers
8k views

X11 Forwarding over Gnu Screen, is it possible?

I use GNU Screen constantly. But, I've been trying to figure out if there is someway to get X11 apps to forward over screen when I am ssh-ing (Is that a word?). Currently if I try to run 'gedit' ...
12
votes
4answers
11k views

How can I have multiple terminal sessions through one single SSH connection?

I have an Ubuntu server edition running and I can SSH into it to perform various tasks. What I'd like is the ability to SSH into my server kick off a server application and then switch to another ...
12
votes
3answers
24k views

How do I launch a remote firefox window via SSH?

When I SSH to a remote box $ ssh -X remotebox then start firefox on the remote box remotebox$ firefox and I have firefox running on my local machine, a local firefox window will open. no firefox ...
12
votes
5answers
16k views

How to secure ubuntu server from bruteforce ssh attacks?

I have my passwords secure, but I heard people complaining about perfomance of a server going down drastically when a bruteforce attack is taking place. How can I secure my ubuntu 10.10 server from ...
12
votes
6answers
7k views

How can I audit users and access attempts to SSH on my server?

I've had a few security problems with a server of mine, a few SSH users have been setting up fires aka giving problems. I would like to: Track user logins and logouts Track activity of these SSH, ...
12
votes
3answers
6k views

Why won't ssh-agent save my unencrypted key for later use?

Every time I SSH into another server from our headless Ubuntu server I am asked for the password to my key file. Even if I have previously connected to the server. Do you have any idea why this ...
11
votes
5answers
33k views

How do I install a ssh private key generated by puttygen?

I set up my linux server to accept connections from my home PC by adding the public key generated by puttygen to the authorized_keys file. Now I'm trying to connect to the same machine, but this time ...
11
votes
3answers
4k views

How do I run a graphical application on a remote server when logged in through ssh?

I am trying to run gedit from an SSH terminal on Windows, connected to an Amazon EC2 instance running Ubuntu 12.04 Server and I am getting this error: Cannot open display: How do I fix it?
11
votes
2answers
11k views

How do I route my internet through a SSH tunnel?

Old Q How do I setup an OpenVPN server without root privileges? Is there a way to setup an OpenVPN server without root privileges? E.g. with configuration files in my home directory? If yes, how do I ...
11
votes
3answers
13k views

How do I edit the ssh motd?

I would like to add some fields to the ssh MOTD. MOTD today: Linux toker 2.6.31-22-generic-pae #69-Ubuntu SMP Wed Nov 24 09:04:58 UTC 2010 i686 To access official Ubuntu documentation, please ...
11
votes
6answers
3k views

SSH tunnel logging?

I have a computer running SSH that I would like to give my friends access to, but I do not want them to use my internet connection through SSH tunnelling (although I'd like to do so myself). Is there ...
11
votes
1answer
5k views

How do I tunnel and browse the server webpage on my laptop?

I run a web app in one of my lab servers, and I have already setup X11 Forwarding on those machines. Other lab members can tunnel through SSH, and browse that web app on their local browser at home. ...
11
votes
3answers
1k views

How can I help someone (like granny) over SSH who is behind a NAT router?

For helping others quickly, SSH is very useful, especially combined with GNU Screen. It's common that users are behind a NAT router. Even if the user can configure the router, it takes some time to ...
11
votes
2answers
4k views

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog was appearning that was containing a textbox where I was intersting my ssh passphrase and ...
11
votes
4answers
4k views

Automatically change Terminal colors on remote connection?

Is there a way to automatically apply a terminal profile when connected to a remote machine via SSH? I'd like more obvious visual cues that I'm connected to a remote machine than the user/host ...
11
votes
1answer
1k views

disable shutdown/suspend if there is other user logged in via ssh

I remember that in versions of ubuntu around 9.04 was possible to disable user to shutdown ( and maybe suspend too ) system if there was other user logged in.Something like policykit or similar. Is ...
10
votes
2answers
2k views

Disable password access through SSH?

I'm setting up a server for backing up my desktop box remotely. I want to prevent remote password access to the server, permitting only users with private keys (AKA my desktop box) to access it. How ...
10
votes
5answers
3k views

How do I suppress the “New release '12.10' available” message?

When I ssh into my Mythbuntu box, I get this message: Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic x86_64) * Documentation: https://help.ubuntu.com/ New release '12.10' available. ...
10
votes
3answers
4k views

How do I backup ssh keys?

I am planning to do a fresh install of ubuntu 11.10 in my system. Before that i have setuped key based ssh authentication in this machine. Is it possible to take backup of those ssh keys, so that i ...
10
votes
4answers
3k views

Is there a GUI utility to mount remote filesystems over SSH?

Is there a GUI utility to mount remote filesystems over SSH (SSHFS)?
10
votes
1answer
1k views

How to give ssh access to trusted friend?

I've got a friend that I trust enough to give ssh access to one of my servers. To this end, I've created a user account for him. The box is accessible by key authentication only, not passwords. ...
10
votes
2answers
15k views

How to launch a new instance of Google Chrome from the command line?

Is there any way I can launch a new instance of Google Chrome from the command line? I'm not referring to opening a new window - I want a new instance. Here's why: Suppose I open Chrome and navigate ...
9
votes
3answers
819 views

ssh never ask for a password

Somehow my SSH never wants to ask me for a password. So I setup a VPS on some random server somewhere in the world and I want to connect to it with ssh. I can setup a key, but when I do this: ssh ...
9
votes
4answers
23k views

How to setup passwordless SSH access for root user

I need to configure a machine so software installation can be automated remotely via SSH. Following the wiki, I was able to setup SSH keys so my user can access the machine without a password, but I ...
9
votes
3answers
7k views

How do I set up an email alert when a ssh login is successful?

Does anyone have a bash script that will email or notify someone in the case of a successful login to a ssh server? I want to be notified if anyone logs into my personal box. I'm using Ubuntu 12.04 ...
9
votes
4answers
44k views

Start ssh server on boot

I've been doing my google-fu, but I can only find outdated guides or guides pertaining solely to the server variations of Ubuntu. I need to set it up so that ssh server is run on boot, so I can ...
9
votes
2answers
13k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
9
votes
3answers
10k views

Sharing files in LAN through Samba or SSH

I searched through many forums and I am able to share files between two Ubuntu machine and Windows machine but I have these problems which I can't solve. any help will be thankful When I share files ...
9
votes
7answers
3k 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
8answers
21k views

Server keeps asking for password after I've copied my SSH Public Key to authorized_keys

I have an Ubuntu Server, running in a Cloud. I created a user (git). In the folder /home/git, I have created the .ssh/ dir, and the authorized_keys file. But, when I put my SSH Public Key in the ...
9
votes
2answers
2k views

Redirect existing windows via SSH and X11 forwarding?

Using ssh -X user@host I can start programs on the host and X11 forwarding allows me to see their windows on the remote machine. However, I'd like to be able to forward/redirect existing windows. How ...
9
votes
5answers
1k 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 ...
9
votes
1answer
1k 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
3answers
10k views

Where is the SSH Server Fingerprint generated/stored?

I installed openssh-server and created a key with ssh-keygen. I then attempted to test it using local port forwarding by doing ssh -L 8080:www.nytimes.com:80 127.0.0.1. However, the key fingerprint ...
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
5answers
8k views

How do I disable SSH from starting automatically?

After installing openssh-server, the server start every time I boot. If I want it to be manual what do I need to do? In version 0.6.7+ of upstart I would add a "manual" stanza to the job file. 10.04 ...
8
votes
3answers
6k 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: ...
8
votes
2answers
5k 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
2answers
24k 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
3answers
3k 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
5answers
9k views

How to run an SSH server without a static IP address

I have a powerful computer in the lab and I installed Ubuntu 11.10 64-bit on it. I want to install an SSH server on it, so I can reach it from home and even from my Android via ssh. But I haven't got ...
8
votes
3answers
13k views

How do I connect to a server with thunar in Xubuntu?

In Ubuntu running Gnome 2 you were able to select "Connect to Server" from the Places menu and you would get a graphical connection to whatever server you connected to. Example: How can you do ...
8
votes
4answers
57k views

SSH Public Key - No supported authentication methods available (server sent public key)

I have a 12.10 server setup in a virtual machine with its network set to bridged (essentially will be seen as a computer connected to my switch). I installed opensshd via apt-get and was able to ...
8
votes
4answers
5k 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 ...
8
votes
6answers
9k views

ssh no longer allows public key authentication

My machine recently stopped accepting incoming public key authentication. I have an ubuntu 11.04 desktop that I ssh into from a windows machine. I use putty with pageant. I am able to connect but ...
8
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 ...
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 ...