Stuck at "Starting the session". Please help
Any suggestion is really appreciated since I'm a Linux newbie.
Advertisement
Advertisement
******
. 2008-01-23 09:40:16.609 -------------------------------------------------------------------------- . 2008-01-23 09:40:16.625 WinSCP Version 4.0.6 (Build 358) (OS 5.1.2600 Service Pack 2) . 2008-01-23 09:40:16.625 Login time: Wednesday, January 23, 2008 9:40:16 AM . 2008-01-23 09:40:16.625 -------------------------------------------------------------------------- . 2008-01-23 09:40:16.625 Session name: ******** . 2008-01-23 09:40:16.625 Host name: *********.linode.com (Port: 22) . 2008-01-23 09:40:16.625 User name: *********** (Password: Yes, Key file: Yes) . 2008-01-23 09:40:16.625 Tunnel: No . 2008-01-23 09:40:16.625 Transfer Protocol: SCP . 2008-01-23 09:40:16.625 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec . 2008-01-23 09:40:16.625 Proxy: none . 2008-01-23 09:40:16.625 SSH protocol version: 2; Compression: No . 2008-01-23 09:40:16.625 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No . 2008-01-23 09:40:16.625 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No . 2008-01-23 09:40:16.625 SSH Bugs: -,-,-,-,-,-,-,- . 2008-01-23 09:40:16.625 SFTP Bugs: -,-,- . 2008-01-23 09:40:16.625 Return code variable: Autodetect; Lookup user groups: Yes . 2008-01-23 09:40:16.625 Shell: default, EOL: 0 . 2008-01-23 09:40:16.625 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes . 2008-01-23 09:40:16.625 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No . 2008-01-23 09:40:16.625 Local directory: default, Remote directory: home, Update: No, Cache: Yes . 2008-01-23 09:40:16.625 Cache directory changes: Yes, Permanent: Yes . 2008-01-23 09:40:16.625 DST mode: 1 . 2008-01-23 09:40:16.625 -------------------------------------------------------------------------- . 2008-01-23 09:40:16.796 Looking up host "********.linode.com" . 2008-01-23 09:40:16.921 Connecting to ********* port 22 . 2008-01-23 09:40:17.031 Server version: SSH-2.0-OpenSSH_4.2p1 Debian-7ubuntu3.1 . 2008-01-23 09:40:17.031 We claim version: SSH-2.0-WinSCP_release_4.0.6 . 2008-01-23 09:40:17.031 Using SSH protocol version 2 . 2008-01-23 09:40:17.046 Doing Diffie-Hellman group exchange . 2008-01-23 09:40:17.109 Doing Diffie-Hellman key exchange . 2008-01-23 09:40:17.484 Host key fingerprint is: . 2008-01-23 09:40:17.484 ssh-rsa 2048 34:fd:5b:52:56:23:c3:e2:6d:be:2d:aa:d9:db:23:5d . 2008-01-23 09:40:17.484 Initialised AES-256 client->server encryption . 2008-01-23 09:40:17.484 Initialised HMAC-SHA1 client->server MAC algorithm . 2008-01-23 09:40:17.484 Initialised AES-256 server->client encryption . 2008-01-23 09:40:17.484 Initialised HMAC-SHA1 server->client MAC algorithm ! 2008-01-23 09:40:17.546 Using username "*******". . 2008-01-23 09:40:17.546 Reading private key file "C:\Programming\rubik.ppk" . 2008-01-23 09:40:17.828 Offered public key . 2008-01-23 09:40:17.875 Offer of public key accepted ! 2008-01-23 09:40:17.875 Authenticating with public key "rsa-key-20080122" . 2008-01-23 09:40:17.875 Passphrase prompt (Passphrase for key "rsa-key-20080122": ) . 2008-01-23 09:40:29.718 Access granted . 2008-01-23 09:40:29.781 Opened channel for session . 2008-01-23 09:40:29.796 Started a shell/command . 2008-01-23 09:40:29.796 -------------------------------------------------------------------------- . 2008-01-23 09:40:29.796 Using SCP protocol. . 2008-01-23 09:40:29.828 Doing startup conversation with host. . 2008-01-23 09:40:29.828 Skipping host startup message (if any). > 2008-01-23 09:40:29.828 echo "WinSCP: this is end-of-file:0" < 2008-01-23 09:40:29.953 [leohart@host115 lish] Wed Jan 23 10:40:28 EST 2008 < 2008-01-23 09:40:29.953 [leohart@host115 lish] Linode Shell (lish) Console starting... ! 2008-01-23 09:40:30.156 /bin/stty: standard input: Invalid argument < 2008-01-23 09:40:30.156 [********@******* lish] Must be connected to a terminal. < 2008-01-23 09:40:30.156 Your Linode isn't running, or another console session is already active. ! 2008-01-23 09:40:35.000 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:35.187 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:40.203 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:40.203 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:45.140 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:45.140 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:50.171 /bin/stty: standard input: Invalid argument ! 2008-01-23 09:40:50.171 /bin/stty: standard input: Invalid argument
. 2010-12-06 13:43:01.847 -------------------------------------------------------------------------- . 2010-12-06 13:43:01.847 WinSCP Version 4.1.9 (Build 416) (OS 6.0.6002 Service Pack 2) . 2010-12-06 13:43:01.847 Login time: Monday, December 06, 2010 1:43:01 PM . 2010-12-06 13:43:01.847 -------------------------------------------------------------------------- . 2010-12-06 13:43:01.847 Session name: ctecBICSconn . 2010-12-06 13:43:01.847 Host name: xxx.xxx.xx.xx(Port: 22) . 2010-12-06 13:43:01.847 User name: xxxxx (Password: Yes, Key file: No) . 2010-12-06 13:43:01.847 Tunnel: No . 2010-12-06 13:43:01.847 Transfer Protocol: SFTP (SCP) . 2010-12-06 13:43:01.847 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec . 2010-12-06 13:43:01.847 Proxy: none . 2010-12-06 13:43:01.847 SSH protocol version: 2; Compression: No . 2010-12-06 13:43:01.847 Bypass authentication: No . 2010-12-06 13:43:01.847 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No . 2010-12-06 13:43:01.847 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No . 2010-12-06 13:43:01.847 SSH Bugs: -,-,-,-,-,-,-,- . 2010-12-06 13:43:01.847 SFTP Bugs: -,- . 2010-12-06 13:43:01.847 Return code variable: Autodetect; Lookup user groups: Yes . 2010-12-06 13:43:01.847 Shell: default, EOL: 0 . 2010-12-06 13:43:01.847 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes . 2010-12-06 13:43:01.847 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No . 2010-12-06 13:43:01.847 Local directory: default, Remote directory: home, Update: No, Cache: Yes . 2010-12-06 13:43:01.848 Cache directory changes: Yes, Permanent: Yes . 2010-12-06 13:43:01.848 DST mode: 1 . 2010-12-06 13:43:01.848 -------------------------------------------------------------------------- . 2010-12-06 13:43:01.848 Looking up host ctecBICSconn
Advertisement
Advertisement
/bin/bash
or /bin/ksh
or sudo su -
) causes my WinSCP to report Authentication Failure when attempting to log in.
I believe that he is correct. I think the remote directory no longer exists. So I have specified a directory that I know exists in the Remote Directory setting.The cause of the problem might that the remote directory does not exist anymore AND you have set
Advanced -> Environment -> SCP/Shell -> Shell: "Default"
The failure to set the current directory seems to break the shell auto-detection. So if you set an explicit shell, the problem goes away.
Other solutions:
– choose an existing directory (Advanced -> Environment -> Directories -> Remote Directory:)
– re-create the directory in a separate SSH session
cmd.exe
.
Advertisement
Something must have changed. Either on server. Or in your WinSCP configuration. Maybe you have used SFTP protocol before. Just try to change the protocol. No other configuration should be needed.I wasn't aware that it might affect the connection. As far as I know, no changes have been made to the SSH server - otherwise I don't think PuTTy would work.
The "server can be accessed via SSH on port XX with the supplied credentials" even with WinSCP. You get a problem only later, when WinSCP tries to talk to the shell.Regarding PuTTy, I was highlighting the fact that the server can be accessed via SSH on port XX with the supplied credentials, thereby eliminating those items as possible causes of the problem.
Advertisement
It works.Did you try SFTP?
.bashrc
file I had a command to sudo
to another user. Once I removed this line, WinSCP worked. So please make sure .bashrc
doesn't have sudo
or cd
to a directory that has no permission for the user.
sudo
(if it prompts for a password) needs to go to .bash_profile
.
Advertisement
shell
– as the Shell to use (since this is the first command to enter in NetScaler when ssh to the appliance).
Advertisement
Advertisement
You can post new topics in this forum