0
votes
1answer
59 views

ssh_exchange_identification Can't Access to SSH Amazon EC2 (Lock Out)

I get an error in terminal when I'm trying to access my instance in Amazon EC2. I use Centos 6.x server WHM/cPanel, i have access to WHM, but i DON'T have a complete access to FTP or SSH. ssh: ...
0
votes
1answer
209 views

Number of SSH connections rises, and blocks data?

We have a client server setup, where the client sets up an SSH tunnel and uses port forwarding to send data to the server: ssh -N -L 5000:localhost:5500 user@serveraddress The normal number of SSH ...
-1
votes
1answer
42 views

How to allow remote connection to MySQL only for specific accounts in CentOS VPS?

I have a CentOS VPS. Port #3306 for MySQL is open for all customers, and they can connect to their databases remotely. As this can be a cause of security issues, I would like to stop all remote ...
0
votes
1answer
27 views

Show statistics for ssh connection

I am suffering since a long time an ssh timeout with one of my hosts. I have tried several things, including changing ClientAliveInterval and ServerAliveInterval, but I do not get it to work. I would ...
0
votes
0answers
74 views

Establish an SSH Tunnel out from behind a firewall

I have a box sat behind a firewall, and when its powered on (or internet connection resumed), I want it to connect to a server, allowing me to do a reverse SSH connection back to it. I'm currently ...
0
votes
1answer
47 views

What packet to ignore to not have ssh terminated on brief connectivity loss?

It seems like sometimes there are some connectivity problems around the edge of our network to certain other networks, and my ssh sessions with some remote servers, which themselves have no ...
1
vote
2answers
79 views

SSH connection times out unless I tunnel in from a different server-

OK, so this just started last week - Whenever we try to connect to our server via ssh (we use sftp, as well) - The connection times out. However, when you ssh to any other server and then ssh ...
0
votes
1answer
342 views

very slow connection to ssh server from client (but not other servers)

I have an Ubuntu 12.04 laptop that is taking so long to connect to various servers (in different data centres) that it seems like a bit of a lottery whether I'll actually get a connection. If I ...
0
votes
3answers
682 views

How to to avoid “Port 22: Connection refused” error?

I have a server where I just use openssh, openvpn and rabbitmq (which requires a lot of erlang dependencies). Every time I reboot my server I can't access to it anymore getting Port 22: ...
3
votes
1answer
295 views

SSH connection closed/dropped a few seconds after successful log in (EC2/linux/debian)

I have been using ssh to connect to the same EC2 instance for months. Now, all of a sudden, I am getting kicked off the server every time I try to do so. The amount of time I can remain connected ...
0
votes
2answers
55 views

Reverse-back ssh

I have a workstation and I need to connect to a remote server via ssh. Server is under Solaris 11. I can connect to remote server, but when I try to ssh back from remote server to my workstation, I ...
0
votes
1answer
272 views

Amazon EC2 unable to connect to instance

I had to change keypair on my instance. I have created an EBS AMI image of the original instance and created a new one with the image. I can ping the instance but ssh connection is refused. One ...
5
votes
6answers
10k views

ssh tunnel refusing connections with “channel 2: open failed”

All of a sudden (read: without changing any parameters) my netbsd virtualmachine started acting oddly. The symptoms concern ssh tunneling. From my laptop I launch: $ ssh -L 7000:localhost:7000 ...
0
votes
1answer
2k views

Able to connect by SSH, but not x2go

I am having trouble connecting to a remote server with X2GO using a DSA key. Connecting works fine over SSH, but when I try to connect with X2GO, it goes immediately to the username/password box and ...
0
votes
1answer
2k views

Why my scp is working one side only? “Lost connection” SCP transfer

I'm trying to transfer a file via ssh but it works only from PC1 to PC2 but it doesn't work backwards. I've checked my ssh_config files and both are the same. Which is basic: Host * SendEnv LANG ...
0
votes
2answers
523 views

SLES11 random unreachability from a single machine

I'm experiencing a very weird problem and I am lost hard now. I have set up several Suse SLES 11 SP2 machines since my company tries switching to SUSE. And every single machine with SLES 11 has this ...
1
vote
1answer
999 views

how to solve the error: “ssh_exchange_identification: connection closed by remote host”

I have been researching for hours and still unable to solve my problem. This error "ssh_exchange_identification: Connection closed by remote host" has many proposed solutions but none seem to solve ...
0
votes
2answers
592 views

OpenSSH Can't Connect on Fedora 17

Having trouble SSH'ing to an internal server that is outside of an enterprise level firewall. I have a fresh install of Fedora 17. Here is the command I'm running: ssh ...
0
votes
2answers
44 views

Unable to SSH into EC2 instance on Fedora 17

I did following steps But I am not able to SSH to it(Same steps work fine on Fedora 14 image). I am getting Permission denied (publickey,gssapi-keyex,gssapi-with-mic) I created new instance using ...
0
votes
0answers
1k views

Unable to SSH into ESXi 4.1 host - “Access Denied”

I am unable to SSH into an existing ESXi server. I have a user which is in the "root" and "users" group and is able to connect via vSphere. However after enabling "Remote support (SSH)", attempting to ...
-3
votes
1answer
562 views

Connect to server via SSH2 [closed]

I'm using http://www.hetzner.de/en/. They send me something like that: Your Hetzner-Server is now active. Thank you for choosing Hetzner Online as your Web Hosting partner. You can access your ...
3
votes
1answer
1k views

Out of nowhere, ssh_exchange_identification: Connection closed by remote hot me too

See similar: Out of nowhere, ssh_exchange_identification: Connection closed by remote host Today, 6/19/12 attempting to ssh to the same host as usual ssh replied ssh_exchange_identification: ...
1
vote
2answers
107 views

Connection closed by IP ( Linux Redhat) while ssh to Amazon server

I am accessing my server on Amazon AWS via ssh and suddenly its no more accessible via ssh. I am getting " Connection closed by 'Live IP Address of Server' " error. I think there are too many ...
0
votes
2answers
2k views

sftp concurrent connection

I have to setup my server to receive 20-30 concurrent sftp connections from different clients using same username. I've tried to test this simulation user connections with scp. The problem is that ...
0
votes
1answer
662 views

ssh connection refused with out iptables rulles

I changed the ssh port from 22 to 2021 and it worked correctly till 3hours ago,after that when I can't connect to ssh. ssh: connect to host 130.185.72.125 port 2021: Connection refused so I checked ...
0
votes
2answers
279 views

Why does the connection break when I kill a process on remote host?

I login to the remote host (debian) by ssh and execute a command like this ssh user@remote_host "ps -ef | grep process_name | grep -v grep | awk {'print $2'} | xargs kill -9' then the connection ...
0
votes
2answers
396 views

SSH occasionally (rarely) doesn't connect

I've been running this script for a few days: while [ true ]; do ssh USER@SERVER echo -n . || date +"%s"; done Obviously, my terminal is filled with dots, but sometimes (quite rarely) I get this ...
0
votes
1answer
117 views

How can I debug a hanging ssh connection?

I have two virtual servers with the same host provider. After regenerating my SSH keys on my client machine (local) I con only connect to one of the virtual servers. When I connect to the other (both ...
2
votes
2answers
368 views

SSH Connection Lost

I have recently started using iptables, and I executed iptables -F without knowledge of what it might do. And suddenly I have lost connection to the node. I can't even ping the node. Any help would be ...
2
votes
2answers
122 views

SSH dies when a lot of text transfers through it

I've got a strange problem with SSH. When I try to do something that sends a lot of text over it, often it will break the connection ("connection reset by peer"). It's not every time, but often enough ...
33
votes
4answers
9k views

Why do consoles sometimes hang forever when SSH connection breaks?

I've seen this with so many consoles (on Linux, Mac, ...), and with lots of different machines in many different networks. I can never pinpoint the exact reason, why this happens: All you have to do ...
2
votes
3answers
12k views

ssh_exchange_identification: read: Connection reset by peer

I've got an odd and urgent problem. I'm trying to connect to a vendor's ftp site. I have tried connecting from multiple places. I've found that I cannot connect from my production server1 but I can ...
3
votes
2answers
943 views

“ssh root@server” hangs forever

Sometimes my ssh client will take forever to login. This happens when the server is not responding (overloaded, killed processed, ...). My automated scripts will then fail because the ssh process ...
1
vote
1answer
454 views

Can ping, can establish SSH connection in one way but not on other way

First of all, sorry about my english. We're facing a very strange problem with SSH connection between two specific servers. Let's say we have X1, X2 and Y servers. Where X1 and X2 are behind the ...
-3
votes
1answer
1k views

PuTTY - Server Unexpectedly Closed Network Connection

I have two servers that I have been able to connect fine as s1.website.com and s2.website.com I connected to s1.website.com earlier today without any issues, however, when I connected to ...
4
votes
1answer
1k views

Unable to connect to a remote database

I'm playing with MongoDB. I have a good deal of experience with MySQL and was using something called Sequel Pro to connect to remote databases. I'm now trying MongoHub but can't seem to get it to ...
3
votes
1answer
1k views

Debugging Connection Issues Between Two Linux Servers

I have two CentOS 5 servers running iptables and apf. I am having issues connecting with ssh from server 1 to server 2. I can connect from server 1 to a third server and from that third server to ...
2
votes
5answers
5k views

SSH Connection refused

I was logged into my server earlier today, and now when i go to SSH i get the error "SSH Connection Refused" i'm running Ubuntu Hardy. The server is still working, and serving web-pages i just cannot ...
1
vote
2answers
416 views

SSH sometimes screws up connection when terminal overflows?

I've got a problem with SSH on a Debian Lenny based server (it's a vHost within a Xen environment, booted on a Xen kernel). I hope someone can help me with this. The SSH connection seems somehow ...
1
vote
1answer
2k views

Intermittent ssh “Connection refused” errors

Recently, while using svn+ssh on Mac OSX, usually after a few svn operation, I usually get in a state where I only get "Connection refused" errors from any svn command. At this point, any operation ...
1
vote
3answers
1k views

SSH2 Connect Timeouts While Issuing Remote Commands

I'm running a script that issues remote commands over SSH to a few production boxes. There are RSA keys in place for the user to connect to these boxes and in most cases there are no problems. ...