I'm trying to connect to a server using a private key generated through cPanel and stored on my local machine, but I am getting the "Connection closed by remote host". Any ideas?
XXXXX-computer-2:~ XXXX$ ssh -v -i /path/to/private/key
[email protected]
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to xxx.com XX.XX.XX.XX] port 22.
debug1: Connection established.
debug1:
identity file /path/to/private/key type -1
ssh_exchange_identification: Connection closed by remote host