Skip to main content
1 of 4
Mohan Sharma
  • 171
  • 1
  • 1
  • 9

Can't ssh into my server from home linux but can ssh into same server from windows!! :(

I cannot ssh into my server from one of my ubuntu installation but if I use another ubuntu installation or windows operating system sshing works smoothly.

So something is broken in one of my ubuntu installation and I'm struggling to find the exact problem.

I've tried reinstalling ssh/openssh-client/openssh-/ssh.

Here is few lines from verbose output :-

ssh username@MYSERVERADDRESS -v
debug1: Offering RSA public key: /home/user/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to MYSERVER ([MYSERVERADDRESS]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: pledge: network
packet_write_wait: Connection to MYSERVERADDRESS port 22: Broken pipe

Tried many different solutions from googling but never worked any. Deleted .ssh directory, Deleted /etc/ssh/ssh_config (It was automatically created again with default values).

One more information is that problem isn't from server-side as I can ssh into server using another os and same network.

Please help me out of this situation :__((((

Mohan Sharma
  • 171
  • 1
  • 1
  • 9