LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-02-2004, 05:50 AM   #1
williamp0044
LQ Newbie
 
Registered: Feb 2004
Location: Gotham City
Distribution: RedHat Mandrake Suse Knoppix PHLAK
Posts: 19

Rep: Reputation: 0
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?
 
Old 03-02-2004, 06:32 PM   #2
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Maybe you can try using putty, the ssh client for windows. You can get it here .
 
Old 03-03-2004, 06:19 AM   #3
williamp0044
LQ Newbie
 
Registered: Feb 2004
Location: Gotham City
Distribution: RedHat Mandrake Suse Knoppix PHLAK
Posts: 19

Original Poster
Rep: Reputation: 0
i know of putty but i am looking for something that can be used through command prompt "eg ftp"
 
Old 03-03-2004, 11:23 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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)
 
Old 03-06-2004, 08:43 AM   #5
shahriar
LQ Newbie
 
Registered: Dec 2002
Posts: 18

Rep: Reputation: 0
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 ), 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[most secure, open source, client/server file transfer program] Synesthesia Linux - Software 5 11-28-2005 08:20 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo Linux - Networking 4 03-01-2005 01:43 PM
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo SUSE / openSUSE 0 03-01-2005 05:43 AM
OpenSSH client to F Secure Server kmslack Linux - Security 1 03-18-2004 05:02 PM
internet connection thru command prompt jmarsh Linux - Networking 5 03-07-2003 03:00 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration