Sponsored Content
Full Discussion: ssh very slow
Operating Systems Solaris ssh very slow Post 302270748 by reborg on Monday 22nd of December 2008 06:56:05 PM
Old 12-22-2008
There are a few things which can cause this, all of which have the same initial response delay when connecting.

1. DNS (on the system you are connecting to) as already mentioned, use of the ipaddress does not preclude this possibility, because if UseDns is set the server will attempt to lookup the client before allowing the connection.

2. Netmasks. If the netmask is incorrect on the server or client it will take some time to figure out the correct routing.

3. Network autonegotiation issue, if one or other party ends up half-duplex you will see similar problems.
 

10 More Discussions You Might Find Interesting

1. BSD

ipfw slow ssh and ftp connections

just as the title says. thanks. #General Rule Sets /sbin/ipfw add 0300 check-state /sbin/ipfw add 0301 deny tcp from any to any in established /sbin/ipfw add 0302 pass tcp from any to any out setup keep-state /sbin/ipfw add 0303 pass udp from any to any out #SSH FTP /sbin/ipfw add 0400... (11 Replies)
Discussion started by: dwildgoose
11 Replies

2. Solaris

Solaris 9 slow login thru ssh & ftp

When I ssh to my box, an Ultra 5. I get prompted for password immediately. I enter it and have to wait sometimes a full minute for it to prompt for a password. The same thing happens when i try to ftp to the box, it will say connected, but it takes forever to prompt for password, and... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. UNIX for Dummies Questions & Answers

SSH and FTP connect slow

Hi again guys, Earlier today, just all of a sudden, all SSH and FTP connections to my internal Linux box just slowed down to a crawl. After the connection/authentication though, everything was back to normal speed. Until you have to connect again. A box reboot didnt work either. Now, from... (1 Reply)
Discussion started by: Aeros
1 Replies

4. Solaris

Slow login via SSH

Hi Guys and Girls, I know this is a common question but I've searched and we've tried the suggestions without luck. When I log into the box via SSH from a windows machine I get a 1 min 20 sec delay. If we add my IP address and machine name to /etc/hosts then I get an instant login. I would be happy... (12 Replies)
Discussion started by: MikeKulls
12 Replies

5. Shell Programming and Scripting

Net::SSH::Perl slow to login.

I have some sample code that's supposed to ssh to another machine using Net::SSH::Perl, execute a command, and print the output of that command. It's very basic, and it works. However, I noticed that upon logging in: $ssh->login('username','password'); It takes roughly 10-13 seconds to... (2 Replies)
Discussion started by: mrwatkin
2 Replies

6. Solaris

Slow ssh connection after patching

I have Solaris-10 server which was patched by patch cluster last weekend. After patching, it connects slow with other server. Meaning, when I do - ssh server2 OR ssh wluser2@server2 OR ssh root@server2 It waits for 9-10 seconds and then prompt for password, while it used to be instant... (2 Replies)
Discussion started by: solaris_1977
2 Replies

7. Solaris

Open Indiana 151a - Slow SSH Login

Hi, I have the following issue, when I tried to login to an Openindiana remote server through ssh It takes to long to ask me for the password. So i tried -v and I realize that sshd hangs here " debug1: SSH2_MSG_SERVICE_ACCEPT received " for at least 2 minutes. Then I can log in and everything is... (2 Replies)
Discussion started by: piukeman
2 Replies

8. HP-UX

SSH slow at connect

Hi experts, We are getting slow ssh session connections at HP-UX 11.31 servers. We have set the parameters that maybe will affect , and commented at other theads at config file sshd_config : UseDNS no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no GSSAPIAuthentication no. ... (7 Replies)
Discussion started by: SapBasisSystem
7 Replies

9. SuSE

SLES 11.2 slow SSH password prompt

We are having an issue with slow password prompts via SSH login on all of our SLES 11.2 boxes. The output from a ssh -v login attempt shows a delay here: debug1: SSH2_MSG_SERVICE_ACCEPT receivedThis issue only happens on the first logon of the day; subsequent logons are normal. Adding the client's... (8 Replies)
Discussion started by: j_aix
8 Replies

10. Solaris

Slow ssh on Solaris 10 zone

ssh is slow on solaris zone , and is getting stuck at the following place. debug2: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug3: Wrote 664 bytes for a total of 3325 Below is the ssh version being used: Sun_SSH_1.1.6, SSH protocols 1.5/2.0, OpenSSL 0x0090704f ... (10 Replies)
Discussion started by: skamal4u
10 Replies
rlogind(8c)															       rlogind(8c)

Name
       rlogind - remote login server

Syntax
       /etc/rlogind

Description
       The server is used for the program.  The server provides a remote login facility with authentication based on privileged port numbers.

       The  server is invoked by when it receives a connection on the port indicated in the login service specification.  For further information,
       see When a service request is received, the following protocol is initiated:

       1.  The server checks the client's source port.	If the port is not in the range 0-1023, the server aborts the connection.

       2.  The server checks the client's source address and requests the corresponding host name.  If the hostname cannot be determined, the dot-
	   notation representation of the host address is used.

       Once  the source port and address have been checked, allocates a pseudo terminal and manipulates file descriptors so that the slave half of
       the pseudo terminal becomes the stdin, stdout, and stderr for a login process.  For further information, see

       The login process is an instance of the program, invoked with the option.  The login process then proceeds with the authentication  process
       as described in but if automatic authentication fails, it reprompts the user to log in on a standard terminal line.

       The  parent of the login process manipulates the master side of the pseudo terminal, operating as an intermediary between the login process
       and the client instance of the program.	In normal operation, the packet protocol described in is invoked to provide ^S/^Q type	facilities
       and propagate interrupt signals to the remote programs.	The login process propagates the client terminal's baud rate and terminal type, as
       found in the environment variable, TERM.  For further information see

       The screen or window size of the terminal is requested from the client, and any changes in the window size from the client are sent to  the
       pseudo terminal.

Restrictions
       The authentication procedure used here assumes the integrity of each client machine and the connecting medium.  This is insecure, but it is
       useful in an open environment.

Diagnostics
       All diagnostic messages are returned on the connection associated with the stderr, after which any  network  connections  are  closed.	An
       error is indicated by a leading byte with a value of 1.

       Hostname for your address unknown
       No entry in the host name database existed for the client's machine.

       Try again
       A fork by the server failed.

       /bin/sh: ...
       The user's login shell could not be started.

See Also
       rlogin(1c), inetd(8c)

																       rlogind(8c)
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy