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

learn more… | top users | synonyms (1)

3
votes
5answers
3k views

How do I suspend over ssh?

I guess this question is pretty much the same as How to configure dbus to allow ssh-user to suspend server?; except I wanted to formulate it better. Assume I have an Ubuntu server running nonstop, ...
49
votes
2answers
33k views

What is the difference between `ssh -Y` (trusted X11 forwarding) and `ssh -X` (untrusted X11 forwarding)?

What is the difference between ssh -Y (trusted X11 forwarding) and ssh -X (untrusted X11 forwarding)? As far as I have understood it, it has something to do with security, but I did not grasp the ...
2
votes
2answers
1k views

After restart, how can I ssh into my system?

I have restarted my system remotely, but now when I try to ssh, I get the message ssh: connect to host desktop.hostname port 22: Connection timed out And when I try to ping it: PING ...
15
votes
2answers
21k 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 ...
6
votes
3answers
2k views

SSH keys not working

I'm using ssh-keygen to generate a key on Ubuntu 10.10, then using ssh-copy-id to copy the key to two remote machines that are running 10.04 (one desktop, the other server). But here's the thing: I ...
15
votes
7answers
20k 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)
5
votes
2answers
1k views

Can not log into SSH unless logged in locally

I just set up pubkey authentication on my server (running ubuntu server 10.10). If I am logged in to the server locally (at the box), then I can ssh into the server fine (from another machine). If I ...
78
votes
7answers
91k views

How do I change my username?

Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name ...
4
votes
2answers
2k views

Move files with ssh

I know that I can copy files from my computers with scp. Is there a way to move them at once instead of copying with ssh?
1
vote
1answer
100 views

Is there a way to share resources of a machine by running a program on one machine, but display it on another?

Is there a way to sort of "share" processing power between two machines? I already use x2x and ssh to communicate between the two, but the two but that works with two moniters aswell. Is there a way I ...
5
votes
3answers
8k views

How can I disable/modify the SSH login banner for a given user?

How can I disable/modify the SSH login banner for a given user?
4
votes
1answer
9k views

SSH pubkey authentication works only if another session is already open

Permissions are set correctly on the server (chibi). If I do not have an existing ssh session open to the server, then all new sessions require a password. However if there's already one open, ...
4
votes
2answers
3k views

cat command - will it overwrite?

In order to pass the contents of one file to another we can, for example: cat ~/temp_minhakey.pub >> ~/.ssh/authorized_keys Let's say, we need to append more content to authorized_keys, but ...
1
vote
2answers
924 views

How to prevent seahorse from asking for a passphrase?

I've created one password-protected RSA key to access my remote server via ssh using key-based authentication and added it to seahorse using ssh-add. I would like to prevent seahorse from asking me ...
7
votes
2answers
12k 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
778 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.
14
votes
5answers
22k 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
988 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
265 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 ? ...
2
votes
1answer
5k 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 ...
42
votes
3answers
39k 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
12k 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 ...
31
votes
10answers
269k 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 ...
8
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, ...
118
votes
3answers
35k 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
148 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
3k 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
149 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
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 ...
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 ...
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.
11
votes
2answers
3k 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
442 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
819 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
7k 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 ...
3
votes
3answers
5k 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
4k 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
4k views

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

Is there a way to import existing SSH keys to Seahorse?
13
votes
4answers
2k 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 ...
9
votes
2answers
7k 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
3k 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 ...
7
votes
2answers
20k 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 ...
3
votes
1answer
3k 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
5k 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 ...
2
votes
4answers
3k 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
950 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
848 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, ...