File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Connect To LUNIX from Windows 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Connect To LUNIX from Windows 7" Watch "Connect To LUNIX from Windows 7" New topic

Connect To LUNIX from Windows 7

vijay kumar sharma

Joined: Feb 20, 2008
Posts: 17
HI All,

How to connect to linux system from command prompt ? Can i use the same command in a bat file to connect? I installed putty and winscp in my windows machine. I am able to connect to the LINUX machine using that but how w ewill connect from command prompt and how we will transfer files from windows to LINUX.

Is rsh command is useful for this ? while i tried it from command prompt its saying that rsh is not an internal and external command.

Thanks & Regards
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

One usually connects to a Linux/Unix machine using SSH as the basic communication for all access.
For shell access, you can just use ssh and the machine name

ssh dns-name.of.linux.machine

For file transfers, good practice is to use sftp, which is ftp over SSH. commands such as scp (secure copy) use sftp

All of this can be done in the GIU world with winSCP and Putty.

If you want shell programs to do this, you have to install them.

" is not an internal and external command. " is a standard Windows error message. It means that there is no such program installed as a command. It might be installed and not on your path, or it may not be installed.

Find one and install it properly
I agree. Here's the link:
subject: Connect To LUNIX from Windows 7
It's not a secret anymore!