This is really a problem that I have had since I installed F21. It was a clean install, not an update.
Anyway, when I connect to various servers that are setup for user/paswd login, it is a while before I see the password prompt.
After working on the system for a while, the session is suddenly unresponsive. I can ping the destination, but nothing in the ssh session. Usually after some time (more than a minute) the session resumes responding.
If I leave a session connected and move away from it, eventually I get a "Write failed: Broken pipe"
All the systems I am connecting to are on other networks, so I am going through a firewall that permits my ssh connections.
Any hints where to look? Wireshark is not showing me anything, but I may just be using the wrong filters.
On 03/17/2015 05:23 PM, Robert Moskowitz wrote:
This is really a problem that I have had since I installed F21. It was a clean install, not an update.
Anyway, when I connect to various servers that are setup for user/paswd login, it is a while before I see the password prompt.
After working on the system for a while, the session is suddenly unresponsive. I can ping the destination, but nothing in the ssh session. Usually after some time (more than a minute) the session resumes responding.
If I leave a session connected and move away from it, eventually I get a "Write failed: Broken pipe"
All the systems I am connecting to are on other networks, so I am going through a firewall that permits my ssh connections.
Any hints where to look? Wireshark is not showing me anything, but I may just be using the wrong filters.
In my experience, a slow ssh password prompt is due to DNS lookup issues--particularly reverse DNS (ipaddr-to-hostname) lookups. If the remote machine is having trouble doing a reverse DNS lookup on your client IP, then you just have to wait for the DNS to time out before you get the password prompt.
As to why it slows down, could be any number of other things. Are you on a VPN? Are you getting your IP via a DHCP server? Are you on a broadband connection? ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - This message printed using recycled bandwidth - ----------------------------------------------------------------------
On 03/17/2015 08:23 PM, Robert Moskowitz wrote:
This is really a problem that I have had since I installed F21. It was a clean install, not an update.
Anyway, when I connect to various servers that are setup for user/paswd login, it is a while before I see the password prompt.
After working on the system for a while, the session is suddenly unresponsive. I can ping the destination, but nothing in the ssh session. Usually after some time (more than a minute) the session resumes responding.
If I leave a session connected and move away from it, eventually I get a "Write failed: Broken pipe"
All the systems I am connecting to are on other networks, so I am going through a firewall that permits my ssh connections.
Any hints where to look? Wireshark is not showing me anything, but I may just be using the wrong filters.
I think I got the wireshark filter right now: tcp port nnn where nnn is the port number I have moved ssh to. A lot of traffic before the password prompt appeared. So measurable delay on, I believe my F21 system, until the prompt appeared.
Now I am waiting to see the pipe break.
On 03/17/2015 08:38 PM, Rick Stevens wrote:
On 03/17/2015 05:23 PM, Robert Moskowitz wrote:
This is really a problem that I have had since I installed F21. It was a clean install, not an update.
Anyway, when I connect to various servers that are setup for user/paswd login, it is a while before I see the password prompt.
After working on the system for a while, the session is suddenly unresponsive. I can ping the destination, but nothing in the ssh session. Usually after some time (more than a minute) the session resumes responding.
If I leave a session connected and move away from it, eventually I get a "Write failed: Broken pipe"
All the systems I am connecting to are on other networks, so I am going through a firewall that permits my ssh connections.
Any hints where to look? Wireshark is not showing me anything, but I may just be using the wrong filters.
In my experience, a slow ssh password prompt is due to DNS lookup issues--particularly reverse DNS (ipaddr-to-hostname) lookups. If the remote machine is having trouble doing a reverse DNS lookup on your client IP, then you just have to wait for the DNS to time out before you get the password prompt.
I am on an rfc1918 address (my own rfc!) with non-nated connection to the servers. I own the DNS, so I will set up the rDNS.
As to why it slows down, could be any number of other things. Are you on a VPN? Are you getting your IP via a DHCP server? Are you on a broadband connection?
No VPN. All native IPv4 everything is routed. Firewall is open in both directions for my SSH port.
I am getting my IP via DHCP. I can fix it to my MAC and setup the rDNS.
All local traffic on 100Mb ethernet and the Juniper firewall is rated at 150MB throughput.