Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2000 16:34:42 +1000
From:      "Doug Young" <dougy@bryden.apana.org.au>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   SSH setup / RSA keys 
Message-ID:  <092401c05905$4ea18290$837e03cb@dougy>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I'm trying to configure SSH login to a 4.2 RELEASE system from various Windows machines. It certainly appears to be a 
step forward in securing servers from the moron element that gets its thrills from wanton vandalism, however as with most 
new things in unix the documentation quite sparse as far as explaining 
"exactly_how_do_I_do_this_from_scratch_when_I_ only_first _stumbled_across_ the beast_an_hour_ago"

I've installed "TeraTerm" in the Windows systems, (complete with the SSH patch), and its sorta talking to unix (its got no problem
with regular telnet login), but I've obviously not understood something about this private / public keys stuff because it refuses to 
accept either the private or the public keys that I copied from the FreeBSD /home/username directory.  

"man ssh" says "The user creates his/her RSA key pair blah blah blah  ..... then copy the identity.pub to some directory on 
the remote machine."  Now thats all very well if the remote machine happens to be another unix box, but where on earth does
one find a "HOME/.ssh/authorized_keys" file or directory in a Windows system ???????? 

I get a "fatal: Timeout before authentication for xxx.xxx.xxx.xxx" message from FreeBSD, but I guess thats just the FreeBSD 
system spitting the dummy at a key it doesn't like.

Would someone please enlighten me on just how I go about setting up keys that are acceptable to both FreeBSD & Windows, 
and if theres any sort of hocus pocus is involved in getting the key/s from unix to windows without changing the things.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm trying to configure SSH login to a 4.2 RELEASE 
system from various Windows machines. It certainly appears to be a </FONT></DIV>
<DIV><FONT face=Arial size=2>step forward in securing servers from the moron 
element that gets its thrills from wanton vandalism, however as with most 
</FONT></DIV>
<DIV><FONT face=Arial size=2>new things in unix&nbsp;the documentation quite 
sparse as far as explaining </FONT></DIV>
<DIV><FONT face=Arial 
size=2>"exactly_how_do_I_do_this_from_scratch_when_I_&nbsp;only_first 
_stumbled_across_ the beast_an_hour_ago"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've installed "TeraTerm" in the Windows systems, 
(complete with the SSH patch), and its sorta talking to unix (its got no 
problem</FONT></DIV>
<DIV><FONT face=Arial size=2>with regular telnet login),&nbsp;</FONT><FONT 
face=Arial size=2>but I've obviously not understood something </FONT><FONT 
face=Arial size=2>about this private / public keys stuff because it refuses to 
</FONT></DIV>
<DIV><FONT face=Arial size=2>accept either&nbsp;the <FONT face=Arial 
size=2>private </FONT></FONT><FONT face=Arial size=2><FONT face=Arial size=2>or 
the public keys that I copied from the FreeBSD /home/username 
directory.&nbsp;</FONT>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>"man ssh" says "The user creates his/her RSA key 
pair blah blah blah &nbsp;..... then copy the identity.pub to some directory on 
</FONT></DIV>
<DIV><FONT face=Arial size=2>the remote machine."&nbsp; Now thats all very well 
if the remote machine happens to be another unix box, but&nbsp;where on earth 
does</FONT></DIV>
<DIV><FONT face=Arial size=2>one find a "HOME/.ssh/authorized_keys" file or 
directory in a </FONT><FONT face=Arial size=2>Windows system ???????? 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I get a "fatal: Timeout before authentication for 
xxx.xxx.xxx.xxx" message from FreeBSD,&nbsp;but I guess thats just the FreeBSD 
</FONT></DIV>
<DIV><FONT face=Arial size=2>system spitting </FONT><FONT face=Arial size=2>the 
dummy at a key it doesn't like.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Would someone please enlighten me on just how I go 
about setting up keys that are acceptable to both FreeBSD &amp; Windows, 
</FONT></DIV>
<DIV><FONT face=Arial size=2>and if theres any&nbsp;sort of hocus pocus is 
involved in getting the key/s from unix to windows without changing the 
things.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?092401c05905$4ea18290$837e03cb>