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

4
votes
2answers
8k views

ssh: connect to host xxxx@xxxx.in in port 22 : connection timed out

I am new to Linux and SSH. when I try to connect to a remote grid computer (for which I have access) I am getting connection timed out error. I have recently installed Ubuntu in my system. I also have ...
2
votes
1answer
858 views

Unable to connect to my remote Ubuntu system using SSH

I want to connect to my remote PC running on Ubuntu 12.10 using SSH. But when I try ssh my_username@my_current_ip, I get this error: ssh: connect to host 117...** port 22: Connection timed out I ...
0
votes
1answer
553 views

Why do I need the ssh server package to rlogin into my machine?

When I try to login into a Ubuntu machine using rlogin it mentions ssh connection refused. In order to resolve this I installed the openssh-server package on the remote machine. Why is this not part ...
1
vote
1answer
2k views

How to setup SFTP with Chrooted for Groups

After many trials and errors trying to setup a working sftp server for multiple groups with chrooted directory I decided to share what finally worked for me. I am a novice 2 months into Ubuntu so ...
2
votes
0answers
158 views

SFTP with Chrooted directory project

First thank you very much for all your post. I am completely new to Ubuntu and the Unix world and have found almost all the answers I needed except how to properly setup and sftp server with chrooted ...
12
votes
1answer
11k views

Host alias for ssh

There are a few SSH destinations I will frequently be connecting to and I'm wondering if rather than remember the IP address I can create a host alias for them. I'd like to be able to use... ssh -p ...
12
votes
1answer
11k views

I am getting a Putty attempted incorrect protocol errors when I SSH into my server from Windows

I have had Putty connecting via SSH to my Ubuntu 12.10 server for several months. Yesterday I began to get the following error every time I connect: PuTTY X11 proxy: wrong authentication protocol ...
0
votes
1answer
976 views

Problem Setting Up Local SSH Server

I am trying to setup one of my linux computers as an ssh server but I can't connect to it. I have openssh-server and openssh-client installed already on both computers (client and server). If I run ...
1
vote
2answers
3k views

Ubuntu server: ssh is showing in process but does not work

This is all within a LAN. My server can be pinged. I can run php apps on my server from within the LAN. I have installed openssh-server. I tried the command ps aux and it shows the process listed ...
1
vote
0answers
778 views

Suddenly cannot access SSH on LAN

I had ssh running on my LAN server. Suddenly (not sure what I did), I cannot access the LAN server via ssh. When I try, it just hangs for a while with no response and finally comes out with a timed ...
5
votes
2answers
18k 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 ...
4
votes
1answer
26k views

Why do I get “connection refused” errors connecting to a server via SSH?

I've installed Ubuntu 12.04.1 LTS on it with the LAMP stack. I can ping it but when I try to connect to it the server can't be found. When I try to connect with WinSCP I get the error Network error: ...
0
votes
2answers
5k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
3
votes
2answers
512 views

How to monitor website stats from the terminal?

is there any way to monitoring the stats from my own website .. like example.com .. just via our terminal without installing plugins .. so we can see real time visitor and bots came and go at website ...
3
votes
3answers
2k views

SSH from external network refused

I've installed open-ssh-server on my home computer(running Lubuntu 12.04.1) in order to connect to it from school. This is how I've set up the sshd_config file: # Package generated configuration file ...
1
vote
1answer
245 views

What's the meaning of: /dev/rdisk0s1 and /dev/rdisk0s2s1?

I'm trying to use SSH to make a disk image by using DD on an iPod. And I'm using this commands: ssh root@192.168.1.100 dd if=/dev/rdisk0s1 bs=1M | dd of=iphone-root.img ssh root@192.168.1.100 dd ...
2
votes
1answer
277 views

Is it possible to use DD to obtain splited images from a hard-drive?

My piano teacher asked me to record one of his recitals with his iPod (3-4 generation, not so sure) and I did it. While trying to edit it, he accidentaly deleted it, I'm trying to recover. After some ...
2
votes
1answer
1k views

SSH Tunneling Suddenly Not Working

I have a home PC running Ubuntu 12.10. In order to make sure that my data isn't being monitored in public, I had in the past used a subscription VPN service. I decided to research alternatives and I ...
2
votes
0answers
20 views

Freezing on Logout / Disconnected SSH Connection [duplicate]

Possible Duplicate: What should I do when Ubuntu freezes? I have been having my Ubuntu desktop freeze occasionally when logging out of a graphical session (using computer locally), or when ...
7
votes
1answer
7k views

Bizarre SSH Problem - It won't even start

I recently got Ubuntu 12.04 Precise, got it up and running with some MediaWiki software, static IP on the box and router and was able to access the main page even from a cell phone. Everything seemed ...
0
votes
1answer
1k views

Can't ssh into my ubuntu vps

I have a vps running Ubuntu 12.04 LTS and I have installed openSSH but I can't connect to it with putty. I get error saying Network error:Connection timed out. How to fix this?
1
vote
2answers
7k views

Disable automatic starting of sshd? [duplicate]

Possible Duplicate: How do I disable SSH from starting automatically? Simple question here; what's the correct way to stop the sshd service from starting when the OS boots ? I'm not sure ...
1
vote
2answers
2k views

Alternative for Xshell.

Do anyone knows an alternative for xshell? I have checked and the alternatives mentioned are putty, openssh etc. But I require it mainly for port forwarding and for that xshell works perfectly. Is ...
11
votes
2answers
7k views

How can I reconnect to a ssh session after a broken pipe?

So I was running apt-get upgrade on a server when the router decided it had been too long since it last made me angry: It dropped all connection. Moral of the story is to use screen a lot when you're ...
2
votes
2answers
6k 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: ...
16
votes
2answers
55k 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
92 views

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

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
101 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
698 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: ...
4
votes
2answers
10k 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
728 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 ...
46
votes
3answers
58k 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
260 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
6k 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
575 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
39k 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 ...
12
votes
2answers
11k 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
683 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
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
863 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
535 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
587 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" . ...
19
votes
5answers
82k 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
3answers
75k 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
6k 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
282 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 ...