Daniel Berger
5/4/2007 5:41:00 PM
On May 4, 9:59 am, Dax Huiberts <dax.huibe...@gmail.com> wrote:
> Gordon Thiesfeld wrote:
> > You need to specify ssh in the %systemroot%\system32\drivers\etc
> > \services file.
>
> > Open it, and add a line like this:
>
> > ssh 22/tcp #SSH
>
> > Gordon
>
> Cool!
>
> That solved one problem,
> now it wanted to create a file in my %home_dir%/.ssh directory which
> didn't exists and quit. Manually creating that directory and adding the
> ssh line to my services file makes net-ssh1.1.0 work with windows.
> Apparently net-ssh1.1.0 isn't really geared towards windows usage I
> suppose.
I found the problem (and it wasn't a Windows problem). It's the host-
key-verifier.rb file. Change line 64 to this:
Dir.mkdir(key_directory, 0700) if !File.exists?(key_directory)
I've already filed a bug report on the project site.
Regards,
Dan