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

2
votes
2answers
4k views

How could I shutdown a remote host, in my network thru ssh, with a local host?

The question is simple. What would be the script I would have to use to shut down a computer in my network thru ssh. Normaly i would go to command line and: ssh desktop delik@desktop's password: ...
15
votes
2answers
45k views

Connecting to ubuntu server via ssh externally

I have recently installed ubuntu server (12.0.4) and intend to use it primarily as a file server. I am completely new to linux so this is a pretty big learning curve. Yesterday I was able to ...
0
votes
1answer
89 views

Is there any application on Ubuntu equivalent to fedora's 'Connect To'?

On Fedora 14 I use to use an app called 'Connect To' (I think it was default app) to make SSH connections. It was GUI based SSH connection tool. Now I have migrated to Ubuntu (11.10 to be precise). ...
3
votes
1answer
2k views

How to address ssh-server with a subdomain for remote access?

I am trying to set up ssh-server on my Ubuntu 12.04 VM (running in VirtualBox on Mac OS X 10.7). I have a domain name, call it foo.com, and I'd like to make ssh available via ssh to linux.foo.com. (I ...
0
votes
1answer
97 views

How does SSH deal with public keys?

In SSH the client publishes his public encryption key into the server authorized_keys file for a given user. I am interested in understanding better how the public key is used context of ...
5
votes
2answers
573 views

Everytime i am trying to connect to my box using SSH, its failing not connecting

From any other PC doing SSH to my Ubuntu 11.10,is failing. My network setup: Telenet ISP (Belgium) > Fiber cable < > RJ45 cable straight > to Ubuntu PC Even the SSH is running: Other PC: ...
2
votes
2answers
8k 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 ...
2
votes
2answers
574 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 ...
32
votes
2answers
39k 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 ...
0
votes
2answers
132 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
238 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
4k 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
541 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 ...
6
votes
2answers
33k 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 ...
11
votes
2answers
9k 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
603 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. ...
5
votes
2answers
985 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
740 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
482 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
545 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" . ...
17
votes
5answers
68k 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 ...
7
votes
2answers
60k 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 ...
3
votes
2answers
4k 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
259 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
863 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

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?
40
votes
3answers
31k 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 ...
28
votes
10answers
237k 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
1answer
6k 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 ...
1
vote
3answers
930 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
603 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
652 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 ...
9
votes
3answers
4k 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
316 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 ...