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

learn more… | top users | synonyms (1)

6
votes
1answer
9k views

Openning NetworkManager's edit connections window from terminal

I need to open NetworkManager's edit connections window from terminal (for ssh -X ). What is the command that opens it?
6
votes
3answers
724 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 ...
6
votes
2answers
1k views

Using mv & cp on a headless server (SSH timeout interferring?)

I've recently set up a headless server to back up a number of very large film & editing files. I SSH into the server and - following some best practice guides I found around - I've tightened ...
6
votes
2answers
3k views

Why does gnome-terminal freeze when an SSH session gets disconnected?

This is a very simple problem. I use gnome-terminal to SSH to other machines every day. I do this on a laptop which I carry around the office, so I am constantly switching between wired and wireless ...
6
votes
3answers
8k views

How to copy files from remote server to local machine?

I use ssh mylogin@server to connect to a remote server... I am wondering how to copy the whole files from there to my local machine... One reason to do this, is that, I could not compile a latex file ...
6
votes
3answers
574 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 ...
6
votes
1answer
9k views

How to retrieve passphrase for private key?

I generated DSA key using ubuntu. Saved the public key on remote server, such that keys are required before connecting ssh. I have forgot the passphrase for that key. How can I retrieve it?
6
votes
1answer
3k views

how to backup/restore the host key in ssh server

I have a ssh server, and some clients have login it via key login. So the host identity of server has been stored in the known_host of clients. I want to reinstall the server, but I hope it never ...
6
votes
3answers
4k views

Cannot use gedit on multiple remote machines using ssh

After setting up the last of my 5 remote machines, I decided to test that the network was working well by connecting to each and opening gedit. To my dismay, when I tried to open gedit on the second ...
6
votes
1answer
11k views

How to run local shell script on remote server via SSH?

I want to run a local shell script on a remote computer with SSH. How can I do this?
6
votes
3answers
3k views

How to put all traffic and on one interface and some traffic on another interface

At the moment I'm working at a company and the problem is they allow SSH on wifi but not on their wired network. At the moment I push everything through a vpn, but that gives overhead on an already ...
6
votes
1answer
7k 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 ...
6
votes
1answer
2k views

Get root privileges for nautilus on sftp connection

I use "Connect to server" option to sftp to remote computers, as a user which has sudoer privileges. But then, I cannot get root privileges to modify system files. How can I do this? (I know i can ...
6
votes
3answers
731 views

Can I log to a non-default shell?

I love fish. I have a nice Ubuntu 8.04 Server running some services. So I edited the /etc/passwd file, as I did in the past, to change my default shell from bash to fish. And ,yes, I made I typo (BTW: ...
6
votes
4answers
1k views

byobu and ssh-agent

byobu cannot connect to ssh-agent socket well. actually I can make just one connection via ssh-agent but if I try to establish another ssh connection using the agent, it doesn't work. I've tried ...
6
votes
1answer
7k views

How to convert rsa key to pem using X.509 standard

I've converted an rsa key to pem using the following command openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem However when I try uploading this key to my ubuntu server hosted on Azure I ...
6
votes
1answer
632 views

How to set up an rsync backup to Ubuntu securely?

I have been following various other tutorials and blog posts on setting up a Ubuntu machine as a backup "server" (I'll call it a server, but it's just running Ubuntu desktop) that I push new files to ...
6
votes
3answers
1k views

How do I inhibit suspend from the command line?

Is there a way to inhibit suspend/hibernate from the command line. I want to ssh into my home computer and not have it suspend while I'm working on it.
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 ...
6
votes
2answers
7k views

How to connect to existing X session without unlocking physical display?

I usually leave many programs running on my workstation and sometimes I need to use it remotely. So I need to connect to existing X session, while keeping physical display (workstation's monitor) ...
6
votes
1answer
10k views

SSH into Ubuntu VM remotely

I dont have much experience on networking or linux, but I'm trying to ssh into an Ubuntu virtual machine from outside my home network. The Ubuntu virtual machine (VirtualBox) is running an a Debian ...
6
votes
4answers
2k views

Graphical ssh private key prompt not showing up

I recently stopped using a full desktop environment in ubuntu 11.10 (tired of unity) but I'm trying to get some of the desktop environment back. I'm currently trying to get the "Unlock private key" ...
6
votes
3answers
642 views

Using PKCS#8 encrypted private keys w/ ssh-agent

I'm setting up a new Ubuntu system (12.04.2 LTS) for Rails development and wanted to use an encrypted SSH private key as per this article. I can set up a standard ssh keypair using the instructions ...
6
votes
2answers
498 views

VPN for SSH, Internet for all the rest

Intro: Hi, I've been trying to get a VPN and ssh command to work together. And I've been successful to the point where I can get on the server with ssh user@hostname. But when the VPN is active, all ...
6
votes
3answers
4k views

How to manually trigger ssh add dialog box?

Running ssh-add at the command line no longer unlocks the ssh keys properly on my system (Ubuntu 11.10 with Unity). Even after I've run ssh-add, when I ssh to a server, I get a dialog box popping up ...
6
votes
2answers
6k views

Can I ssh (into a mobile device) via USB?

I have a tablet with a USB connection to a host computer. (Ideally the host is running Windows, but if absolutely necessary I could switch the host to be Ubuntu also.) I want to be able to SSH into ...
6
votes
1answer
198 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 ...
6
votes
1answer
11k views

fork: Cannot allocate memory

I am frequently getting: fork: Cannot allocate memory when running commands over ssh. I have 4 GB of RAM and usually 2 GB free. This started happening since I upgraded to Ubuntu 11.10. I then need ...
6
votes
2answers
6k views

Can not connect remotly with X11 and SSH? err: Can't open display, What's wrong?

$ xterm works on the client computer In the client I have : $ echo $DISPLAY :0 in the config file in the server /etc/ssh/sshd_config: X11Forwarding yes X11DisplayOffset 10 trying to connect to ...
6
votes
2answers
3k views

Ubuntu 14.10 server startup

I install just the OpenSSH server on hardware that was running 14.04 Server. Besides the pages of checks the startup goes through, I believe it should recognize scroll lock from an usb keyboard, but ...
6
votes
2answers
216 views

How to prevent Ubuntu Server sleep/hibernation

I'm running the latest Ubuntu Server (quite literally downloaded & installed yesterday) on a box under my desk. I've got trac installed and OpenSSH. Intermittently both become unavailable, as if ...
6
votes
2answers
996 views

xubuntu xterm strange lag/echo issue with ssh

I have a xubuntu box and using its terminal everything is fine locally; but when I ssh to any server, the remote echo seems to be holding the last line until a key is pressed or the window is resized. ...
6
votes
0answers
1k views

SSH hangs about a minute after login [duplicate]

Possible Duplicate: Long wait time on login I am connecting from a Ubuntu Desktop 11.10 to a Ubuntu Server 11.10, over SSH using public key authentication. Problem is within about a minute ...
6
votes
1answer
1k views

How to start/configure pulseaudio remotely with ssh?

I have a remote machine to which I can ssh. On the remote machine there is a program that uses pulse audio to get input from a USB microphone attached to the remote machine. This setup works fine when ...
5
votes
4answers
46k views

Finding the ip address of another computer on the network?

Is there a program which can tell me the ip address of a computer when is connected to my network? A list of names or ip addresses. For example when my wife is on my main desktop computer I can ...
5
votes
4answers
10k views

How do I SSH to machine A via B in one command?

I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this ...
5
votes
2answers
8k views

SSH-Agent can't open a connection to authentication agent?

When I SSH into my firewall server, then attempt to ssh into another machine on the local network from there I get the following error: Could not open a connection to your authentication agent. ...
5
votes
3answers
7k 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. ...
5
votes
2answers
2k views

Sending keypresses to remote X session over SSH

So I'm sitting in our living room on an Ubuntu laptop working while also watching a TV that is controlled by an Ubuntu HTPC. I have an IR remote set up and can control everything I need to with it, ...
5
votes
4answers
8k views

How do i transfer files over ssh after sudo?

I have access to a box over ssh and there are some files i'd like to transfer to another machine, but those are only accessible under another account so if i ssh with 1, then sudo 2 i can browse them ...
5
votes
2answers
1k views

How to access open terminal with running process using SSH?

I have two computers with Ubuntu 12.04 and 13.10 both desktop versions. On the 12.04 I have opened terminal and process running in it. The process is displaying some states information and allows ...
5
votes
2answers
4k views

Disable interactive SSH at user-level

I connect to a server I don't control via SSH. I use public key access and don't need to be able to connect with a keyboard-interactive password. I would like to disable keyboard-interactive access ...
5
votes
2answers
13k views

How do I SSH and remove all previous SSH activity history?

I want to remove any and all activity logs for SSH remotely. How do I get to it? My account on the remote server doesn't have admin privilege, and as such I just want to remove user to user ...
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 ...
5
votes
2answers
877 views

Why are there two ssh daemons running in top?

I have Ubuntu 10.04.1 , SSH server is running fine, but I wonder, why there are two sshd instead of one? Isn't one multithreades daemon enough? Is this an option?
5
votes
1answer
5k views

How do I set up a local SOCKS proxy that tunnels traffic through SSH?

Assume I have access to an SSH server that supports tunneling, and I am on a PC that is running *ubuntu, how do I set up a local SOCKS proxy that tunnels the traffic through that SSH server before ...
5
votes
1answer
18k views

ssh-add command does not add my identity to ssh-agent

I just installed ubuntu 13.10 and I was about to add my identity to my ssh-agent so I open up a Terminal and did this bjorgvin@buntu:~$ ssh-add -l The agent has no identities. bjorgvin@buntu:~$ ...
5
votes
4answers
51k views

how do you stop/restart ssh?

How do I stop/start ssh in version 11.10? I've tried /etc/init.d/ssh restart sudo service ssh restart sudo restart ssh I get errors every time... arrrr!
5
votes
2answers
7k views

ssh -L (error: bind: Address already in use)

Pretty simple, I know that this has happened to me before. Couldn't find a good answer on AU. I was running an ssh session with ports bound: ssh -L 3000:<server_name>:22 I just lost my ...
5
votes
2answers
19k views

Connection timeout for ssh server

I'm trying to setup openssh-server, but I'm having some issues connecting. I changed the port to something non-standard (57757) and then set my router to forward to that port. On my LAN, I'm able to ...