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

learn more… | top users | synonyms (1)

0
votes
1answer
1k views

How to connect to server as root in Nautilus?

I want to know how I can access the following as root: Places>Connect to server This is to connect to a server that needs a public key that I only have as root Thanks
0
votes
1answer
168 views

What command runs when I SSH into a server?

When I SSH into a server, I see the MOTD then I am in BASH. What command is running that takes care of displaying the MOTD and then starts the shell?
6
votes
3answers
543 views

Use Linux commands on windows directories through ssh

Since I'm stuck with windows at work. I'd like to use a Ubuntu Server machine which i access through SSH from a windows machine to manipulate files on the windows machine. I've been moving files up ...
1
vote
1answer
967 views

My SSH tunnels get interrupted because the host machine falls asleep. Bug or Feature?

My gnome-power preference is set to automatically sleep after 30 minutes of inactivity. Apparently it thinks that a ssh connection is not a valid reason to keep it alive. Is this a feature or a bug? I ...
1
vote
3answers
5k views

SFTP upload script, there is no key

I need to upload a file to a server. The server uploads using SFTP. After authentication, any command execution is forbidden, so I cannot SSH directly in, I need to get directly into the SFTP ...
1
vote
3answers
6k views

ssh connection “permission denied” message

When I execute the command ssh localhost (in Ubuntu 10.10), it will display the error message "permission denied(public key)." What may be the problem? Is there any problem in sshd_config file in ...
8
votes
4answers
5k 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" ...
2
votes
2answers
2k views

Can access NAS by SSH in terminal but not through Nautilus

I have a Synology DS411 and have SSH access through Terminal. I've tried just about every walkthrough for how to connect to an SSH server in Nautilus but nothing has worked. Any ideas why? Is ...
1
vote
1answer
966 views

ssh connection closes after successful login

I am trying to run ssh on my computer so I can control it with my android phone. When I scan my local network with overlook fing at my phone I get that my computer is running ssh at port 22. So I try ...
1
vote
0answers
472 views

How do I ssh into a User Mode Linux process [closed]

I have managed to startup a User Mode Linux session (see How to correctly start a Ubuntu user-mode-linux from the command line) although I'm still having an issue on startup I'm able to get networking ...
0
votes
2answers
2k views

How to restrict users on accessing my machine through ssh and VNC?

I dont want other users to access my machine through ssh and VNC.How to restrict this?As a admin i want to view and access all other system through ssh and VNC. Also only for my system ssh access ...
0
votes
1answer
132 views

Setting Up Automated Offline Back-Up

I am going to be running an Ubuntu Server. The server itself will be hosted at a co-location data center. I know how to access it remotely via SSH but I also want to set up a 2nd machine at my ...
12
votes
3answers
7k 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 ...
7
votes
3answers
18k views

How to log off an user from SSH? [duplicate]

I am able to see logged-in users via the who or last command. How can I log off a particular user who login through SSH?
3
votes
5answers
4k 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
34k 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
22k 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 ...
79
votes
7answers
99k 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 ...
6
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
937 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
13k 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
785 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
23k 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
995 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
266 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 ...
44
votes
3answers
41k 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 ...
33
votes
10answers
278k 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, ...
122
votes
3answers
37k 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
150 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
448 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
832 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 ...