WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to install OpenSSH on Vista?

 
Goto page Previous  1, 2
   Home -> Vista -> Networking & Sharing RSS
Next:  Help setting up user permissions!! HELP!!  
Author Message
Michael Moser

External


Since: Dec 01, 2007
Posts: 36



(Msg. 9) Posted: Wed Dec 19, 2007 12:58 am
Post subject: Re: How to install OpenSSH on Vista? One giant leap but not there, yet... [Login to view extended thread Info.]
Archived from groups: microsoft>public>windows>vista>networking_sharing (more info?)

Michael Moser wrote:
> ...
> HOWEVER, I now seem to have a firewall problem.
>
> Locally I can now use PuTTY to connect to the SSHD on localhost, i.e.
> I get a logon and can log in. I also added sshd.exe to the list of
> allowed programs, but when I try to access the SSHD from *another*
> system, then I get no reaction whatsoever. There I also no alert or
> popup (on neither side), even though I have set the Windoze firewall
> to alert me, when anything new tries to connect.
>
> Any idea, what I might be missing and why I can't access sshd via the
> network?
>
> Michael
>
> PS.: connectivity between the machines is given - they can e.g. see
> and access each other's shares etc.

Well - this turned out to be mainly caused by odd Window bug: the alert
window always popped up UNDER the Putty window ||-(

After I realized that I was able to bring that popup up and it read,
that Putty had found no suitable, common authentication scheme.
So I reversed some of the stronger SSHD settings that I had done based
on the second link
(http://theillustratednetwork.mvps.org/Ssh/SecureShell.html). After
relaxing the PassWordAuthentication setting I was finally able to log
in...

Michael
Back to top
Login to vote
cheesesteak

External


Since: Jul 24, 2008
Posts: 3



(Msg. 10) Posted: Thu Jul 24, 2008 4:12 pm
Post subject: Re: How to install OpenSSH on Vista? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I had no trouble installing copSSH and doing and opening an ssh window
locally using putty. However, I need functionality from cygwin other
than ssh, and copSSH is not intended to work with the full-blown
cygwin.

I have attempted to follow the instructions posted at'How to install
OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or
Windows Vista' (http://pigtail.net/LRP/printsrv/cygwin-sshd.html) and
http://pigtail.net/LRP/printsrv/vista-cygwin.txt, and have succeeded in
getting sshd to run. However, when I try to connect locally using
Code:
--------------------
ssh -vvv localhost
--------------------
(or more explicit formulations) I get the following:

Code:
--------------------
OpenSSH_5.1p1, OpenSSL 0.9.8h 28 May 2008
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/cheesesteak/.ssh/identity type 0
debug3: Not a RSA1 key file /home/cheesesteak/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
<previous line repeated 24 more times>
debug2: key_type_from_name: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/cheesesteak/.ssh/id_rsa type 1
debug1: identity file /home/cheesesteak/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host
--------------------


During a previous attempted installation, I had only asked for an RSA2
key. Since it it complained about RSA1, I asked for both RSA1 and RSA2
keys to be set up but obviously that did not help.

Suggestions appreciated!

CS


--
cheesesteak
Back to top
Login to vote
cheesesteak

External


Since: Jul 24, 2008
Posts: 3



(Msg. 11) Posted: Fri Jul 25, 2008 2:53 pm
Post subject: Re: How to install OpenSSH on Vista? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It was suggested to me that I try using DSA keys instead of RSA. I did
that, and got the same kind of message when issuing "sshd localhost"
complaining about format (e.g., unknown key type; not a RSA1 keyfile;
missing whitespace) as in my previous post. In fact, I get the same
kind of message for RSA1, RSA2, and DSA keys. The private key files in
my home/.ssh directory have the same format as their counterparts in the
sshd daemon's private key files, located in /etc.

I expect I am missing one small detail. :confused:


--
cheesesteak
Back to top
Login to vote
Sooner Al [MVP]

External


Since: Jul 15, 2006
Posts: 324



(Msg. 12) Posted: Tue Jul 29, 2008 6:35 am
Post subject: Re: How to install OpenSSH on Vista? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"cheesesteak" <guest RemoveThis @unknown-email.com> wrote in message
news:38181a373982ac33609d2e9d56f1763f@nntp-gateway.com...
>
> I had no trouble installing copSSH and doing and opening an ssh window
> locally using putty. However, I need functionality from cygwin other
> than ssh, and copSSH is not intended to work with the full-blown
> cygwin.
>
Have you seen this thread concerning adding additional cygwin functionality?

http://www.itefix.no/i2/node/10636

--

Al Jarvi (MS-MVP Windows - Desktop User Experience)

Please post *ALL* questions and replies to the news group for the
mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no
rights...
How to ask a question
http://support.microsoft.com/KB/555375
Back to top
Login to vote
cheesesteak

External


Since: Jul 24, 2008
Posts: 3



(Msg. 13) Posted: Thu Jul 31, 2008 9:24 am
Post subject: Re: How to install OpenSSH on Vista? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Smile Thanks, yes, I saw it prior to my previous post here. One post in
that thread, whose topic is adding cygwin packages to copssh, says "This
is not supported as copssh is a minimalistic and specialized solution."
And even the post of the person who has added other cygwin packages to
copssh cautions "Even [if] adding new packages is not officially
supported, it seams (sic) to work. I'm just playing around, so *I do not
recommend this for production environments*!" That post also raises the
spectre of possible security risks - not good for an ssh installation!

I found that I can log using openssh onto the Vista 64 box if either I
do "ssh computerName" locally, where computerName corresponds to the
external IP of the Vista computer in the /etc/hosts file, or if I log in
with ssh from another machine. ssh localhost seems to be the one case
that does not function as expected. No problem with the same set up
under XP btw.


--
cheesesteak
Back to top
Login to vote
Display posts from previous:   
       Home -> Vista -> Networking & Sharing All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
  Windows Vista
 Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET