OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.

learn more… | top users | synonyms

6
votes
2answers
17k views

Cannot ssh into Ubuntu Server by hostname

I just set up Ubuntu 12.04 Server on an old box laying around, connected to my router via ethernet. I set up openssh-server as instructed for remote access, but I cannot ssh into it from my laptop ...
3
votes
2answers
1k views

How do I remotely patch openSSH to allow handshake obfuscation?

I believe that my Chinese ISP has started detecting and bandwidth-limiting SSH connections. I'm not using the default SSH port so I suspect that they are using deep packet filtering to detect the ...
0
votes
4answers
5k views

How to setup Remote desktop sharing?

I am using Ubuntu 11.04 and I want to know how can I access another one of my friends system using Ubuntu 11.04 over remote desktop.I have installed openssh-server,Now what will be the next step to ...
90
votes
3answers
116k views

ssh: automatically accept keys

I've written this small utility script: for h in $SERVER_LIST; do ssh $h "uptime"; done When a new server is added to $SERVER_LIST, the script is stopped with: The authenticity of host 'blah.blah....
0
votes
2answers
133 views

Prompt not working when logged in as specific user

Hello I am running ubuntu 11.10 and access it via ssh with putty. My problem is that when I log in I get the prompt username@server.com:~$ and my arrow keys do what the y are supposed to. When I ...
1
vote
1answer
299 views

What are the common pitfalls that would stop Authorised Key SSH access, and how do I find and correct for them?

EDIT: This question was reworked to make it more useful to the community and less specific to me. Questions seem to come up reasonably often regarding ssh and problems with authorised keys access, ...
2
votes
3answers
10k views

Where to get complete offline installer for openssh-server?

I want to download a complete off line openssh-server package installer. I need the offline package to setup for my school project but I don't have the internet facility in the lab.
2
votes
1answer
637 views

How to give restricted access to user

I have a home PC and I created a reverse port forwarding to a server. Now I would like to go access to some people to the Home PC through this server. I would like to control the access of the user on ...
7
votes
2answers
57k views

How to solve: “Connect to host some_hostname port 22: Connection timed out”?

I have two Ubuntu machines. Both have openssh-client and openssh-server installed on them. ssh-ing from machine G (fresh Ubuntu 11.10 installation) to machine K works great. But ssh-ing from machine K ...
15
votes
2answers
14k views

openssh server: rejected send message

When I tried to restart the ssh server on my ubuntu box, I got me@me-one:~$ service ssh restart restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.63" (uid=1000 pid=3354 ...
0
votes
1answer
793 views

OpenSSH 5.9p1 on Ubuntu 11.10

I want to build a deb package with the latest version of openssh from source. Then I want to install it on my machine. I am running: Linux Ubuntu-1110-oneiric-64-minimal 3.0.0-12-server #20-Ubuntu ...
0
votes
1answer
1k views

Allow incoming connections from outside LAN

I have an openssh-server running on my computer. However, I'm not able to connect to it from outside my LAN. Connecting from within LAN is no problem at all, it works just as one would expect. ...
6
votes
2answers
1k views

Server is dropping SSH connections, then not allowing me to log back on

I have an ESX box which I have loaded with two Ubuntu Server machines. During setup, I chose no additional packages to install as I just wanted a lightweight machine for testing. The first thing I ...
1
vote
1answer
1k views

SSH client not showing prompt after successful login

I'm having problems with my SSH client on Ubuntu 10.10. When I switch on my computer and open a Terminal and execute the command ssh user@host, it gives me a password prompt after which I enter the ...
1
vote
1answer
652 views

OpenSSH and OpenLDAP Configuration

I have installed Ubuntu Server 11.10. I have setup LDAP with some users added. Now i want to configure openssh to use this LDAP details to login to server. and once a user logs in each user should ...
2
votes
1answer
686 views

ssh permission denied in terminal but not inNautilus

I have two Ubuntu machines on the same network. I installed openssh-server and client. When I try to connect through the terminal I get the following message: Permission denied, please try again ...
25
votes
5answers
125k views

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the ...
14
votes
5answers
131k views

SSH Connection Error: No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
5
votes
2answers
10k views

SSH problem after update

Setting up openssh-server (1:5.3p1-3ubuntu7) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... start: Job failed to start Can't initialize ssh, ...
1
vote
1answer
303 views

fail2ban doesn't match anything

I'm working on a new build of my FTP server and I can't get the ssh part of fail2ban to match anything. Manually checking with the regex command shows nothing. Pam and proftpd are working fine, just ...
3
votes
1answer
2k views

How to test plymouth via virtual machine?

I am trying to edit my splash screen but its really annoying to restart the computer everytime just to find out it doesn't even work. i read on an article that I can do a virtual machine via ssh but I ...
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
8k views

How do I build openssh from source?

I try install OPENssh ./configure checking for openssl/opensslv.h... no configure: error: * OpenSSL headers missing any idea?
72
votes
3answers
80k 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 ...
46
votes
10answers
472k 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 ...
9
votes
1answer
10k 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 ...
3
votes
2answers
3k views

How do I install FreeNX server so that it works correctly?

I've tried every single possible way of installing the server now, I've read every how to available and I still can't get it to work. Please let me know in which step I do wrong. I'm using ubuntu 10....
1
vote
3answers
2k views

How to avoid openSSH showing authentication popup?

When pushing a bzr repo to another server, I need to type an openSSH password. After I typed it, an openSSH popup appears, and requires the password again. Any way to avoid this?
1
vote
2answers
969 views

Priority for HTTP over SSH on server

My file server on the internet runs OpenSSH, where users upload and download files using scp or WinSCP. At the same time, the server runs some web applications (http), which need higher priority. Is ...
2
votes
2answers
1k views

SSH Key problem

I want to setup my home server to use ssh keys but when I follow the tutorial on https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html for setting up ssh keys I get this: Bad port 'umask ...
10
votes
3answers
6k views

How to enter the Default Keyring password via the command line?

Is there a way to enter the default keyring password using the command line? For instance: You have a remote setup of Ubuntu 10.10 thats set to auto login. You don't want to remove the keyring ...
2
votes
2answers
1k views

Can't connect to desktop via ssh

Trying to setup a remote ssh file server (sftp) I've done it before but for some reason with ubuntu 10.10 I cannot connect to the assigned ssh port. I setup the sshd_config file to listen on a ...
3
votes
1answer
359 views

Losing SSH connection when exiting from the main console login

I have installed openssh-server from Synaptics, as usual, on a brand new Ubuntu Desktop computer, 10.10, with all updates and patches implemented. If I have the local console logged in, I can SSH to ...