LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2008, 10:47 AM   #1
hintze
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
OpenSSH: password vs rsa authentication, different behaviour on Windows


Hi,

I am using ssh to connect from a Linux (Suse) box to a Windows XP box.

When I connect with password authentication, whatever I am trying to do (execute an .exe) works fine, but when I connect using rsa it just hangs and does not allow me ctrl-c.

Why would the authentication way influence the behaviour of the remote connection once I am connected?

Thanks, Sabine



Linux: OpenSSH_4.1p1, OpenSSL 0.9.7d 17 Mar 2004
WindowsXP: OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004


With password authentication:

ssh ip-address (enter password)


C:\Documents and Settings\userid>net use \\orlvss01\sourcesafe password /user:cbs\userid
The command completed successfully.


C:\Documents and Settings\userid>"C:\Program Files\Microsoft Visual Studio\VSS\win32"\ss cp $/ICBSLinux/8.1.0/project/xtccfg
Current project is $/ICBSLinux/8.1.0/project/xtccfg

C:\Documents and Settings\userid>



With rsa authentication:

ssh -i /home/userid/.ssh/id_rsa ipaddress

C:\Documents and Settings\userid>net use \\orlvss01\sourcesafe password /user:cbs\userid
The command completed successfully.


C:\Documents and Settings\userid>"C:\Program Files\Microsoft Visual Studio\VSS\win32"\ss cp $/ICBSLinux/8.1.0/project/xtccfg
Username: SYSTEM
Password:

apart from the fact that it should not ask me for a user/password, when I enter a password it just hangs there and ctrl-c does not work.
 
Old 07-11-2008, 02:45 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
You need to make sure wether the public key in your Windows server is ida or rsa. What is it?
 
Old 07-15-2008, 08:54 AM   #3
hintze
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
The key is rsa, but why would that matter?

I am able to get to the Windows PC using rsa authentication, but once there it behaves differently than if I get there using password authentication.

Common DOS commands (like DIR) work fine, but when I try to do the steps as outlined above the

"C:\Program Files\Microsoft Visual Studio\VSS\win32"\ss cp $/ICBSLinux/8.1.0/project/xtccfg

step fails.


It seems that the

net use \\orlvss01\sourcesafe password /user:cbs\userid

command has no effect or something like that.

Thanks, Sabine
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unusual RSA behaviour muskvar Programming 6 12-16-2007 11:22 AM
OpenSSH 3.9 Password Authentication WMGoBuffs Linux - Server 3 08-25-2007 01:42 PM
Query regarding SS- RSA Authentication Kosal Linux - Security 2 03-14-2006 11:30 PM
How to RSA authentication ERBRMN Linux - Security 11 07-29-2005 11:22 AM
Sshd Rsa Authentication! Help! ryanstrayer Linux - General 0 01-23-2002 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration