LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   making a secure client/server connection with command prompt (https://www.linuxquestions.org/questions/%2Absd-17/making-a-secure-client-server-connection-with-command-prompt-152522/)

williamp0044 03-02-2004 05:50 AM

making a secure client/server connection with command prompt
 
I would like to be able to connect to my FreeBSD server through windows command prompt. Windows alows the use of telnet but that is unsecure. I allows the use the use of ftp but I am limited to a certain commands. ssh is not supported by the command prompt so that option is out.

Does anyone have any suggestions on how else I can conenct to my server using COMMAND PROMPT? :confused:

Inexactitude 03-02-2004 06:32 PM

Maybe you can try using putty, the ssh client for windows. You can get it here .

williamp0044 03-03-2004 06:19 AM

i know of putty but i am looking for something that can be used through command prompt "eg ftp"

chort 03-03-2004 11:23 PM

http://www.cygwin.com

Make sure you select the check box to include SSH (I think it's included by default). As long as it's in your PATH environment variable, you can call it from the cmd.exe shell just like you would on any *n*x box, otherwise you have to type the path (like c:\progra~1\cygwin\usr\bin\ssh.exe)

shahriar 03-06-2004 08:43 AM

you can use putty from command prompt too. Just place it somewhere within your $PATH environment (eg., inside winnt folder), and then from command prompt, type

putty -2 -ssh -l <username> <host>

the "-2" tells putty to use SSH mode 2 only, "-ssh" tells it to use ssh instead of regular telnet (which has been changed recently, in the good old days putty defaulted to telnet :D ), and "-l" tells the next parameter to be username. You can entirely skip -l <username>, no problem, then the username will be prompted right after a connection is established.

hope this helps.

all the best.


All times are GMT -5. The time now is 01:01 PM.