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

learn more… | top users | synonyms (1)

2
votes
1answer
521 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 ...
30
votes
3answers
82k 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 ...
9
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 ...
33
votes
4answers
50k views

What is terminal command that can show OpenGL version?

So I want to find out which is my OpenGL version. I have access to Ubuntu via SSH. Which command shall I execute?
84
votes
11answers
101k 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?
42
votes
5answers
184k 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 the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...
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 ...
32
votes
7answers
185k 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
278 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
251 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 ...
14
votes
3answers
18k 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 ...
3
votes
3answers
9k 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 ...
2
votes
2answers
952 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
5k 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
7k 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 ...
24
votes
2answers
27k 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
2k 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
194 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
7k 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 ...
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
169 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
555 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
978 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
7k 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
1k 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
479 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
134 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
8k 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
20k 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, ...
52
votes
2answers
36k 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
23k 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
21k 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 ...
85
votes
7answers
110k 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
9k 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?
5
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
957 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
15k 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 ...