Re: Unable to establish password-less login from Linux onto Windows.

"Parag Kalra" <[email protected]> Sat, 16 Aug 2008 22:03:41 +0530
Newsgroups gmane.network.ssh.windows
Message-ID <[email protected]>
------=_Part_11273_10539889.1218904421601
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Armand,

Thanks for your prompt reply.

I installed Cygwin....everything worked like a charm.....

Thanks once again,...

Cheers,
Parag Kalra



On Sat, Aug 16, 2008 at 4:45 AM, Welsh, Armand <[email protected]>wrote:

>  what version of openSSH are you using for windows?
>
> There are:
> openSSH
> CygWin
> copSSH
> openSSH for Windows
>
> the last one is out dated, and does not work well with newer windows
> operating systems w/o a lot of manual tweaking.
>
> the first one would require you build the the software from source code,
> and typically does not build natively on windows w/o a lot of code changes,
> or using cygwin or equivalent
>
> cygwin is the gnu tools for windows (I like to refer to it is linux on
> windows, since it allows you to use your windows machine like a linux box)
>
> copSSH and openSSH for Windows are two repacked versions of the cygwin
> product, reduced to just openSSH functionality, and bash shell (and a very
> small subset of /usr/bin files)
>
> copSSH work out of the box.
> openSSH for Windows requires a lot of manual adjustments to the registry,
> and filesystem to make it work
> cygwin works about 98% out of the box for openSSH... only some systems
> aren't 100% functional after a fresh install...
>
> The most typical issue is pubkey authentication on windows, because of the
> way the windows security model works.  the openSSH service needs to have
> sufficient rights to become another user account w/o knowing the account
> password.  This is where the difficulties come in.
>
> Armand
>
>  ------------------------------
> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Parag
> Kalra
> *Sent:* Friday, August 15, 2008 3:40 PM
> *To:* [email protected]
> *Subject:* Unable to establish password-less login from Linux onto
> Windows.
>
>
>
> Hey Friends,
>
> This is my first post.
>
> I installed openssh software and was able to ssh Windows machine from Linux
> machine & vice-versa without any issues. Of course I had to read the
> "README.txt" file as well as "key_authentication.txt" before everything got
> placed.
>
> When I ssh from Linux on to Windows, my default home directory is:
> "C:\Documents and Settings\Administrator\"
>
> Then I generated public key & private key (dsa) using openssh software.
> Copied the contents of public key to authorized_keys
> (/root/.ssh/authorized_keys) file of a remote Linux machine and was able to
> do password-less login from Windows machine to Linux machine.
>
>
> Then I copied both (same) the public & private keys to /root/.ssh/ folder
> of Linux machine and copied the contents of the same public key to
> authorized_keys file:( "C::\Documents and
> Settings\Administrator\.ssh\authorized_keys" ) on the Windows machine. But
> still password-less login is not working from Linux onto Windows.
>
> Please help!
>
>
>
> --
> Cheers,
> PARAG . A . KALRA
>
>
>
>
>
>


-- 
Cheers,
PARAG . A . KALRA

http://discoverlinux.blogspot.com
http://discovershell-scripting.blogspot.com/

W for Windows, Work, Wait & Weep:--> A Windows user spends 1/3rd part of his
office timing in doing Work, 1/3rd part Waiting for the results & remaining
1/3rd part Weeping.

------=_Part_11273_10539889.1218904421601
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">Hi Armand,<br><br>Thanks for your prompt reply.<br><br>I installed Cygwin....everything worked like a charm.....<br><br>Thanks once again,...<br><br>Cheers,<br>Parag Kalra<br><br><br><br><div class="gmail_quote">
On Sat, Aug 16, 2008 at 4:45 AM, Welsh, Armand <span dir="ltr">&lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">what version of openSSH are you using for windows?&nbsp; 
</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">There are:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">openSSH</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">CygWin</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">copSSH</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">openSSH for Windows</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">the last one is out dated, and does not work well with 
newer windows operating systems w/o a lot of manual 
tweaking.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">the first one would require you build the the software from 
source code, and typically does not build natively on windows w/o a lot of code 
changes, or using cygwin or equivalent</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">cygwin is the gnu tools for windows (I like to refer to it 
is linux on windows, since it allows you to use your windows machine like a 
linux box)</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">copSSH and openSSH for Windows are two repacked versions of 
the cygwin product, reduced to just openSSH functionality, and bash shell (and a 
very small subset of /usr/bin files)</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">copSSH work out of the box.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">openSSH for Windows requires a lot of manual adjustments to 
the registry, and filesystem to make it work</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">cygwin works about 98% out of the box for openSSH... only 
some systems aren&#39;t 100% functional after a fresh install...</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">The most typical issue is pubkey authentication on windows, 
because of the way the windows security model works.&nbsp; the openSSH service 
needs to have sufficient rights to become another user account w/o knowing the 
account password.&nbsp; This is where the difficulties come 
in.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Armand</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:[email protected]" target="_blank">[email protected]</a> 
[mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <b>On Behalf Of </b>Parag Kalra<br><b>Sent:</b> 
Friday, August 15, 2008 3:40 PM<br><b>To:</b> 
<a href="mailto:[email protected]" target="_blank">[email protected]</a><br><b>Subject:</b> Unable to establish password-less login 
from Linux onto Windows.<br></font><br></div><div><div></div><div>
<div></div>
<div dir="ltr"><br>
<div class="gmail_quote"><br>
<div dir="ltr">Hey Friends,<br><br>This is my first post.<br><br>I installed 
openssh software and was able to ssh Windows machine from Linux machine &amp; 
vice-versa without any issues. Of course I had to read the &quot;README.txt&quot; file as 
well as &quot;key_authentication.txt&quot; before everything got placed.<br><br>When I ssh 
from Linux on to Windows, my default home directory is: &quot;C:\Documents and 
Settings\Administrator\&quot;<br><br>Then I generated public key &amp; private key 
(dsa) using openssh software. Copied the contents of public key to 
authorized_keys (/root/.ssh/authorized_keys) file of a remote Linux machine and 
was able to do password-less login from Windows machine to Linux machine. 
<br><br><br>Then I copied both (same) the public &amp; private keys to 
/root/.ssh/ folder of Linux machine and copied the contents of the same public 
key to authorized_keys file:( &quot;C::\Documents and 
Settings\Administrator\.ssh\authorized_keys&quot; ) on the Windows machine. But still 
password-less login is not working from Linux onto Windows. <br><br>Please 
help!<br><br><br clear="all"><br>-- <br>Cheers,<br>PARAG . A . 
KALRA<br><br></div></div><br><br clear="all"><br><br></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>PARAG . A . KALRA<br><br><a href="http://discoverlinux.blogspot.com" target="_blank">http://discoverlinux.blogspot.com</a><br><a href="http://discovershell-scripting.blogspot.com/" target="_blank">http://discovershell-scripting.blogspot.com/</a><br>

<br>W for Windows, Work, Wait &amp; Weep:--&gt; A Windows user spends 1/3rd part of his office timing in doing Work, 1/3rd part Waiting for the results &amp; remaining 1/3rd part Weeping.<br><br><br><br>
</div>

------=_Part_11273_10539889.1218904421601--

--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:[email protected]
If you are having trouble unsubscribing, visit the List Info page for help.