Avatar of rgb192
rgb192
Flag for United States of America asked on

freeSSHd to allow ssh connection with windows server 2008

http://www.windowsnetworking.com/articles-tutorials/windows-server-2008/install-SSH-Server-Windows-Server-2008.html


on windows7 I am attempting to use winscp to connect
I also have secure crt 7.2 but can not get to screen of hostname,username,password
is it sftp, scp, ftp

on windows server 2008 I have freeSSHd
is it ssh1, ssh2



Windows Server 2008SSH / Telnet SoftwareLinuxLinux NetworkingWindows Networking

Avatar of undefined
Last Comment
rgb192

8/22/2022 - Mon
serialband

You should have port 22 open on the firewall to allow ssh connections.  You should be using scp or sftp to connect, not ftp.  You should test winscp on the local system first to make sure you can connect winscp first.  Once that's tested, you can then try winscp from a remote system.
rgb192

ASKER
Yes I went through steps to open port 22 according to this picture:

steps to open port 22I am not sure if I was successful. Maybe I need to restart iis/server? How to test.
serialband

freeSSHd should be a stand-alone server.  You don't need IIS.

You can test it by installing and running winscp on the same system you installed freeSSHd on.  Run winscp and connect to localhost on port 22
Your help has saved me hundreds of hours of internet surfing.
fblack61
rgb192

ASKER
on same windows server 2008 I connect to port 22 using winscp scp

options when connecting:
copy key
ssh-rsa 1024 06:4e:c0:ca:0f:6d:0d:dd:52:86:7b:3f:a4:0f:c6:f7
then I press yes


same error happens (see previous screenshot where I connect using winscp on windows7)


now I paste on .txt, next .ppk format and upload key file


key file in unknown format
serialband

How did you generate the winscp-key.ppk file?  That's a Putty Private Key extension.  You may need to convert it with puttygen.exe
rgb192

ASKER
I am not a server expert.  I do not understand.  Please include tutorial of putty connecting if necessary

I copy pasted the string when winscp asked me to connect.
yes no copyPaste


when I change password, winscp alert box, 'wrong password' and I am prompted for password

so I am connected to something.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
serialband

rgb192

ASKER
Is that the only method to test if freeSSHd is working

Can i check server side rather than client side


http://winscp.net/eng/docs/ui_puttygen
I think I got client side to work
creating private key no paraphase and loaded when I connected.
I could not see files and still have similar client side error
newest version of winscp has less error reporting
dialog box 'network error: connection to website.com refused'


but
I still do not know how to check server side
I put down two users 'j3' (exists) 'administrator' (does not exist)
I am using 'nt authentication'?
adding users, type of authentication
rgb192

ASKER
Or what step do you think I should take now to get closer to establishing ssh connection?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
rgb192

ASKER
What other information should I provide?
rgb192

ASKER
May you please request the attention from experts in my previous question.
https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_28394159.html
comfortjeanius suggested the link I am using in current question.
Seth Simmons stated that 3rd party tools are needed.
ASKER CERTIFIED SOLUTION
rgb192

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
rgb192

ASKER
Dave answer worked.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.