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

learn more… | top users | synonyms (1)

8
votes
3answers
30k 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 ...
4
votes
1answer
897 views

How do I define another default ssh identity?

id_rsa is, normally a default identity. However, I've created a new key and I would like to add that key as a default identify instead. How can we do that? Thanks a lot in advance.
16
votes
6answers
29k 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 ...
5
votes
1answer
1k views

What is the difference between “Connect to server…” and sshfs?

Can anyone quickly explain the technical difference between these two methods? Going to Places -> Connect to Server and select SSH (in GNOME) Using sshfs in terminal This probably boils down to ...
2
votes
1answer
284 views

Problem with Public-key Authentication

I've created new ssh keys on my dev box a while ago. I did: ssh-keygen -t rsa -C "myemail@mail.com" I copy the key to my shared host. Now I need to connect using the credentials on the key right ? ...
4
votes
1answer
7k views

How do I remotely access my ubuntu virtual machine?

I have an Ubuntu Desktop edition virtual machine and I would like to access it via ssh remotely but if I'm not logged onto the virtual machine I cannot access it remotely via ssh. Only when I'm logged ...
64
votes
3answers
72k views

Does ssh key need to be named id_rsa?

I have come across this problem a couple of times when creating build servers with keyed authentication. I was wondering if anyone else has experience this. I have a couple of keys for my current ...
7
votes
1answer
14k views

How do I start “Ubuntu classic desktop” (no effects) from the command line

I am able to run sessions over an ssh connection but I rather use the "Ubuntu classic desktop (no effects)" version on Ubuntu 11.04 instead of the new Unity since I don't have 3d support on the laptop ...
43
votes
10answers
426k views

How to solve 'Connection refused' errors in SSH connection?

I have an Ubuntu Server 10.10 32-bit in my home. I'm making SSH connections to it from my PC via Putty. The problem is, sometimes I'm able to login seamlessly. However, sometimes it gives me an error ...
9
votes
2answers
8k 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, ...
194
votes
3answers
68k views

How can I break out of ssh when it locks?

I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no ...
3
votes
3answers
154 views

How to get Rhythmbox running on another user account to see the audio CD I inserted?

I have inserted an audio CD. I have also logged into another account on the same machine through ssh -X. I can successfully launch Rhythmbox, but it doesn't see the CD I have inserted, even though it ...
5
votes
3answers
4k views

ssh tunnel and receiving Web pages through the tunnel

I've tried to create a tunnel torward a client passed through a server, using the following command ssh -X -f admin@IP_server -N -L 4444:IP_client:80 but when try to open client:80 by firefox ...
0
votes
2answers
172 views

Text reverses on remote gnome session

I have two computers running 10.4 . The first machine is a wired desktop with sshd. The second is a wifi connected laptop with the ssh client. When I use my laptop to bring up a remote gnome ...
8
votes
1answer
9k 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 ...
5
votes
1answer
1k views

Add an SSH option to an sftp URL in nautilus

I'm connecting to a remote server in Nautilus using an URL of the form sftp://server.com. However, due to a thing with that server I need to add an option when connecting via SSH, otherwise the login ...
8
votes
3answers
5k 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.
12
votes
2answers
4k 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 ...
5
votes
3answers
477 views

How do I set up a server for SSH?

At my workplace (a university) we have two Ubuntu servers. One is a teacher server and the other is a student server. I am currently setting up a new server to replace the existing teacher server. ...
3
votes
1answer
975 views

Is there a way to use a SSH connection to access SMB or UPnP files without setting up a VPN?

What I'm trying to do is set up a SSH key that only gives access to certain directories, for security reasons I don't want it to have full access to my SSH server. I already have the ability to access ...
5
votes
1answer
1k views

Turning off XON/XOFF when SSHing via PuTTY

I have a fresh install of Ubuntu 9.10 on a rented dedicated server. When I ssh to it using PuTTY (on a Windows machine), I find it responds to Ctrl+S and Ctrl+Q as XON/XOFF transmission control ...
3
votes
4answers
10k views

How to print over ssh?

I have the following configuration: P == U ---------------- W P is a HP Laserjet, connected to U, which is an Ubuntu 10.04 desktop machine with a standard gnome setup from the live cd. I just ...
8
votes
3answers
13k views

How to generate a private-public key using ssh-keygen and make it authorized?

I want to generate a public-private key on Sever 1 and store it in a location which is not the default location. Thereafter, save the public key on Server 2; once again NOT at the default location. ...
0
votes
2answers
2k views

Execute commands on remote computer

I run a command from my computer: ssh user@server-name "df -hP | egrep '(/home|/cors)'" the problem is that i get 3 more rows: tput: No value for $TERM and no -T specified tput: No value for $TERM ...
3
votes
3answers
3k views

Launch a GNOME session in a Ubuntu machine I'm SSH'd into?

I'm sshing into my friends machine and I'm wondering how would i launch a GNOME session over SSH? I need to open a web browser on his machine to view something which can only be done from his ...
1
vote
2answers
5k views

SCP not working with a .ppk key

so I need to connect to a remote server. Remote server is running Debian, I am on Ubuntu Lucid -- and a noob in SSH. I need a public key to connect to the remote server. The key has been created as a ...
7
votes
3answers
5k views

How do I import existing SSH keys into Seahorse? [closed]

Is there a way to import existing SSH keys to Seahorse?
13
votes
3answers
3k views

How do you manage SSH keys?

I have a server with multiple users which each have multiple authorized SSH keys. Is there any effective way (command line utility?) to keep track of which key belongs to who and to quickly remove/add ...
12
votes
2answers
13k 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 ...
4
votes
4answers
4k views

Unable to connect to remote server via SSH (requires public key)

So i've been given access to ssh a server. I have the username/password, but server apparently requires a public key (now bear in mind that i am a noob in ssh). When I do: ssh -p 52 user@server.com ...
15
votes
2answers
29k 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 ...
4
votes
1answer
4k views

Looking for pageant equivalent

I was wonder if there is an equivalent to pageant for Ubuntu, for those of you who are unfamiliar with this tool, its basically a tool that runs and types in your password for public and private keys. ...
5
votes
1answer
11k views

How can I increase the maximum number of simultaneous users to log in to a server?

I use ubuntu server 10.04 on a fairly good machine, with 2.40 dual-core processor and 2GB RAM. My users login with ssh or samba. I have setup LDAP with PAM to sync user accounts between unix and ...
3
votes
5answers
4k views

Retaining bash prompt colors when starting a screen session

When I ssh into a Ubuntu Lucid box the prompt is all pretty, with colors. Everything is the default, as far as I know. Here's my $PS1 outside screen: \[\e]0;\u@\h: ...
0
votes
1answer
1k views

How to test samba/afp configuration remote server?

I am using Ubuntu as desktop and server OS. When I am logged in to the server via SSH on the terminal to change the smb/afp configuration, I can only test the configuration from the server over ...
3
votes
0answers
851 views

How to speed up SSH login using a public key and PuTTY? [duplicate]

Possible Duplicate: Long wait time on login I am using PuTTY to log into my local server, but it takes about 1.5 seconds to log in (from the click on 'Connect' to working command prompt, ...
1
vote
2answers
392 views

Why is ssh-add adding duplicate identity keys?

I have created a private/public SSH key pair using ssh-keygen. I use this to authenticate to remote servers. However, I find that when I log in, ssh-add -l already lists my identity key even though I ...
9
votes
3answers
4k 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 ...
14
votes
3answers
27k 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 ...
1
vote
2answers
929 views

Priority for HTTP over SSH on server

My file server on the internet runs OpenSSH, where users upload and download files using scp or WinSCP. At the same time, the server runs some web applications (http), which need higher priority. Is ...
2
votes
2answers
1k views

SSH Key problem

I want to setup my home server to use ssh keys but when I follow the tutorial on https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html for setting up ssh keys I get this: Bad port 'umask ...
6
votes
3answers
816 views

How come rsync copies files faster than Krusader?

I am trying to copy a .tar.gz file from a remote host. If I mount that host using Krusader and copy it takes a lot of time. However, if I use rsync, it is about 5-6 times faster. How come? Is there a ...
5
votes
2answers
7k views

How to enable SSH server in recovery mode?

How to enable SSH server in Ubuntu 10.10 Desktop Edition recovery mode? My display is not working (broken video card). So how can I do that "blindly"? :)
13
votes
5answers
23k views

Is there an SSH connection manager?

Is there an app (or GnomePanel plugin) that allows to store SSH connection information and open terminal on click? I know that Nautilus does that using Ubuntu's "Password and Encryption keys", but is ...
9
votes
6answers
19k 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 ...
8
votes
2answers
7k views

How can I configure dbus to allow ssh-user to suspend server?

I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit. While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to ...
1
vote
1answer
1k views

How to enable a symlink in this case

I cannot categorize this question under ubuntu since it has nothing to do with it. But I know people here can definitely answer this. I login to one of my deployment boxes using SSH (no ubuntu here). ...
120
votes
6answers
183k views

Is it possible to remove a particular host key from SSH's known_hosts file?

Is it possible to remove a particular host key from SSH's known_hosts file? I usually end up deleting the entire known_hosts file, which I have no problems with doing, but just out of curiosity, is ...
27
votes
6answers
32k views

How do I permanently add an identity for SSH?

I need to run ssh-add <key> everytime I need to ssh into a webserver. Is there a way to add the ID permanently, so I dont have to keep adding the identities on each login? EDIT: The key is a ...
4
votes
3answers
2k views

Is it possible to give sftp access to a user without giving him ssh access?

Is it possible to give sftp access to a user without giving him ssh access?