Host Files not working.

Hello fellow Apple Users,


I am having persistent issues with ssh'ing into my work's server. After successfully logging on, within 5 to 30 seconds I get kicked out of the session with the error message, 'client_loop: send disconnect: Broken pipe'. When I logon to my account on my PC I have no problem.


I have looked into possible solutions to this problem - I have tried adding a flag to the ssh line -

sudo ssh -o IPQoS=throughput <username>@lxplus.cern.ch


I have also reinstalled the OS and after reinstallation, with a clean, updated OS and no user data, still got a broken pipe error.


This leads me to the most revealing attempt, which has uncovered a deeper problem, but I still have no idea why this is happening. When I add


Host *
    ServerAliveInterval 120
    TCPKeepAlive no


to "/etc/ssh/ssh_config" then source it, "source /etc/ssh/ssh_config" I get this error message:


Host: couldn't get address for 'Cern_Files': not found

Host: couldn't get address for 'Cern_Files': not found

/Users/<username>/.ssh/config:4: command not found: ServerAliveInterval

/Users/<username>/.ssh/config:5: command not found: ServerAliveCountMax


I can't find any documentation on these error and Im thinking that this could be the root problem causing me not to be able to ssh. Thank you for any help!


Greyson

MacBook

Posted on Aug 9, 2020 10:50 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Host Files not working.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.