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

learn more… | top users | synonyms (1)

13
votes
1answer
2k 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 ...
4
votes
2answers
318 views

My computer stops seeing the other computers on my network

I'm running Ubuntu 11.04. Sometimes my computer stops seeing the names of the other computers on my network. So I can no longer log into another computer by typing the hosting name e.g. ssh ...
8
votes
2answers
4k views

Do commands continue running after I close my ssh session?

For example, I ssh into a server and run a command say ... wget, then I close the terminial window. Do my download continue? Or does it depend on the app? If so how do I know?
1
vote
1answer
1k views

running two firefox instances — one locally and another through ssh

I would like to have two firefox instances running at the same time in my laptop, one locally and another opening an instance through an ssh connection to another computer. If I just try to open the ...
7
votes
1answer
8k views

how to set up a ubuntu server to be (securely) available from internet?

(apologize in advance, I'm a pro-windows newly converted to ubuntu... if my questions are obvious, please tell me). I want to build a ubuntu server continuously connected to the internet. I own only ...
7
votes
3answers
5k views

Is there a secure web-shell for my server?

Following the security principle of trust no one, I can't use a service like http://www.serfish.com/. Is there a free software program that I can install on my Ubuntu server to give me secure shell ...
4
votes
2answers
2k views

Trust SSH server based on key instead of if key+IP match

Is it possible to make the ssh client not care what IP a ssh server is behind (and if a different server was behind that IP earlier) but instead trust specific server keys? (And maybe nickname those ...
51
votes
2answers
63k views

How to create a restricted SSH user for port forwarding?

ændrük suggested a reverse connection for getting an easy SSH connection with someone else (for remote help). For that to work, an additional user is needed to accept the connection. This user needs ...
11
votes
4answers
2k 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 ...
4
votes
2answers
663 views

Triggering a UI message based on a terminal ssh'd to another server

I am working in a multi-workspace multi-window configuration. I am constantly running scripts behind the scenes. It would save me a lot of time and context switching if I could kick off a script on ...
48
votes
1answer
133k views

How to start a GUI software on a remote Linux PC via SSH

Sometimes I need to start XMBC media player or other GUI software a one of my PC (small Xubuntu PC used as a media center). Usually I do this starting a X11vnc server on the remote PC via SSH and ...
10
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 ...
129
votes
12answers
153k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
74
votes
7answers
325k views

Adding SSH Keys to authorized_keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, ...
7
votes
1answer
2k views

Why can I not see my USB connected Android device over SSH?

I have a computer running Mythbuntu 11.04, and it has Banshee 2.0 installed on it. I also have an Android phone that I use as a music player. I want to get Banshee and Android talking to each other ...
0
votes
1answer
2k views

How can I stop a terminal connection from timing out

At work I have two machines: Windows XP and Ubuntu 11.04. On my XP machine I use Putty to connect to some servers and can leave those windows open for weekends without them timing out. However, when ...
46
votes
8answers
298k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
4
votes
1answer
281 views

Moving SSH keys from Ubuntu

I have set up SSH keys on my Ubuntu machine (10.04) and now I am moving to Debian. On the Debian machine, do I generate new SSH keys corresponding to my username or is it possible to (and is OK) if ...
1
vote
1answer
258 views

Certificate logins to servers

I have some ubuntu cloud servers running and has the iptable rules applied on them to allow only few ip addresses to connect via ssh. I know how to generate SSH-key for connecting to server ...
17
votes
3answers
27k 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 ...
4
votes
3answers
11k views

Cannot write to Folder mounted with SSHFS

I just created a folder according to SSHFS (Ubuntu Docs) sudo apt-get install sshfs sudo gpasswd -a jm fuse sshfs -o idmap=user jm@example.com:/path/to/folder folder Then I found that the folder is ...
4
votes
2answers
1k views

Git basics, How can I grab files from git?

I am new to git so chances are there is a simple answer. I have a git command for grabbing a site git clone git@devel.foobar.com:foob.com.git Now when I run this I am prompted for a password via ...
1
vote
2answers
8k views

Unable to ssh into a system

We have more than 500 systems running ubuntu. When i access a machine through ssh few machines are not getting logged in, rest of the machines are logging in successfully. I am entering the correct ...
3
votes
5answers
8k views

Can not access ssh server from outside

We are using ubuntu 10.04 LTS server.I can ssh access that server from other ubuntu machine in own network. But when we are trying to access the server from out side of LAN we are unable to ssh ...
35
votes
2answers
41k views

Progress bar in scp command

Is there any way to display a progress bar while copying from server to local using scp(or vice versa)
2
votes
1answer
3k views

How to ssh to Live CD for remote recovery - root password issue?

Is there an automatic way to SSH to a machine that booted from Live CD? I have a remote server with a HDD issue and the ISP booted my machine from a Live CD. I can SSH to the machine (lucky has the ...
2
votes
0answers
255 views

SSHFS hangs during file copy [duplicate]

Possible Duplicate: System freeze caused by ath9k driver I use sshfs to handle transfers between servers, but have been running into problems since installing 11.04. I'm not sure if the ...
6
votes
1answer
217 views

Where can I find the fingerprint of 'bazaar.launchpad.net'?

I'd like to verify the RSA key fingerprint I'm shown, where would I find it online*? Please don't post random pages showing that fingerprint, it should be an official one. *) I know that's not the ...
5
votes
1answer
10k views

Shutting down a computer remotely

What ways are there to shut down a computer remotely? My desktop is running Ubuntu 11.04 desktop edition and when I try to shut it down remotely using ssh, it doesn't actually work. I used the ...
1
vote
1answer
2k 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
191 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
630 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
1k 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
6k 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
8k 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
6k 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
3k 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
3k 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 ...
0
votes
2answers
3k 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
155 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
9k 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
3answers
32k 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?
4
votes
5answers
5k 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, ...
69
votes
4answers
46k 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
3answers
2k 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 ...
17
votes
3answers
31k 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
4answers
3k 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
23k 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
2k 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 ...
125
votes
7answers
194k 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 ...