This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh error


On 06/07/2010 08:00 AM, Corinna Vinschen wrote:
I'm not sure about your terminology. With pre-shared key you're talking about public key authentication, right?
Yes where you put say hostA:~/.ssh/id_dsa.pub into hostB:~/.ssh/authorized_keys.
If so, I just tested this again with Linux and XP Cygwin clients. From both clients I can ssh with command as well as scp, connecting with both, admin and non-admin accounts. So it's not a generic Cygwin problem afaics. BLODA, maybe?

No, this is just plain Cygwin. Given hcu-g97pnd1, my XP laptop and usseactxvm01, a 2k3 server, with pre-shared key set up, going from XP -> 2K3:


   Hcu-g97pnd1:uname -a
   CYGWIN_NT-5.1 HCU-G97PND1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwi
   Hcu-g97pnd1:ssh usseactxvm01
   Last login: Tue Jun  8 17:30:43 2010 from
   hcu-g97pnd1.clients.am.health.ge.com
   Usseactxvm01:uname -a
   CYGWIN_NT-5.2 USSEACTXVM01 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygwin
   Usseactxvm01:exit
   logout
   Connection to usseactxvm01 closed.
   Hcu-g97pnd1:ssh usseactxvm01 uname -a
          3 [main] sshd 4976 D:\Cygwin\usr\sbin\sshd.exe: *** fatal
   error - could not load user32, Win32 error 1114
   Hcu-g97pnd1:

So I can ssh to the 2K3 box but if put a command on the end (e.g. uname âa) it fails. Now redoing that last command but removing my pre-shared key so that I am prompted for a password:

   Hcu-g97pnd1:ssh usseactxvm01
   Last login: Tue Jun  8 17:33:10 2010 from
   hcu-g97pnd1.clients.am.health.ge.com
   Usseactxvm01:mv .ssh/authorized_keys .ssh/authorized_keys.save
   Usseactxvm01:exit
   logout
   Connection to usseactxvm01 closed.
   Hcu-g97pnd1:ssh usseactxvm01 uname -a
   lf827522@usseactxvm01's password:
   CYGWIN_NT-5.2 USSEACTXVM01 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygwin
   Hcu-g97pnd1:

Now going from the 2K3 machine -> XP machine:

Usseactxvm01:ssh hcu-g97pnd1
Last login: Tue Jun 8 16:24:06 2010 from :0
____________________, ______________________________________
.QQQQQQQQQQQQQQQQQQQQQQQQL_ | |
.gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ__ | |
gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ== | _.---.) |
QQQQQQQQQQQQQQQQQQQQQQQQQQQF= | (^--^)_.-" `; |
QQQQQQQQQ================! | ) ee ( | |
QQQQQQQQ | (_.__._) / |
QQQQQQQQ | `--', ,' |
QQQQQQQQ ~"jjj__, | jgs
)_|--')_| |
QQQQQQQQ "jjjjjjjjjj___ | ""' ""' |
QQQQQQQQ ~jjjjjjjjjjjjjjjjj__ | |
QQQQQQQQ _jjjjjjjjjjjjjj/~~~~ | The Hippo says:
Welcome to |
QQQQQQQQ .{jjjjjjj/~~~~~ | _ |
QQQQQQQQ .{/~~~~` | ____ _ _ ____ _ _ _
(_) ____ |
QQQQQQQQ | / ___)| | | | / _ || | |
|| || _ \ |
QQQQQQQQ |( (___ | |_| |( (_| || | |
|| || | | ||
QQQQQQQQQL_______________, | \____) \__ | \___ | \___/
|_||_| |_||
QQQQQQQQQQQQQQQQQQQQQQQQQQQL___ | (___/ (____| |
4QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ___ | |
(=QQQQQQQQQQQQQQQQQQQQQQQQQQQQQ==== | -.-. -.-- --. .-- ..
-. |
(QQQQQQQQQQQQQQQQQQQQQQQQF= |______________________________________|


   Hcu-g97pnd1:uname -a
   CYGWIN_NT-5.1 HCU-G97PND1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin
   Hcu-g97pnd1:exit
   logout
   Connection to hcu-g97pnd1 closed.
   Usseactxvm01:ssh hcu-g97pnd1 uname -a
   CYGWIN_NT-5.1 HCU-G97PND1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin
   Usseactxvm01:

--
Andrew DeFaria <http://defaria.com>
Are the kids on the Barney Show just too damn happy?


-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]