The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Best possible communication mechanism between a Solaris machine and a windows machine Krsh SUN Solaris 7 02-05-2009 10:41 AM
wt is the exact procedure to share windows printer on linux machine to print from it pankajd UNIX Desktop for Dummies Questions & Answers 1 11-14-2008 01:24 AM
Link type between working machine and server machine palash2k UNIX for Dummies Questions & Answers 1 05-22-2008 06:43 AM
how can i copy data in LINUX Machine to windows XP bsandeep_80 UNIX for Advanced & Expert Users 2 03-27-2008 06:25 AM
view remote linux desktop on my windows machine new2ss UNIX for Advanced & Expert Users 4 06-07-2007 05:06 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-29-2009
lassimanji lassimanji is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 58
SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it.
  #2 (permalink)  
Old 04-29-2009
gbowdridge gbowdridge is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 4
You can use putty to do this. The main thing you need to do is generate a key (using putty-keygen) on the windows box and install it on the host you will connect to. The key exchange will let you log in with no password.

this link might help:

Using putty with OpenSSH
  #3 (permalink)  
Old 04-29-2009
jim mcnamara jim mcnamara is online now Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,742
You have to generate ssh keys on the local windows box. So windows has to have OpenSSH or some other commercial ssh product.

Copy the public key to each linux box. Then you can ssh to each linux box and execute a command on the linux box. Or simply login.

Another choice might be to download putty or plink to your Windows box. Yes, you can script a Windows batch file: .BAT to automate connecting.
  #4 (permalink)  
Old 04-29-2009
lassimanji lassimanji is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 58
i dont want to use a third party software for it
  #5 (permalink)  
Old 04-29-2009
gbowdridge gbowdridge is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 4
I don't think you have a choice. Windows doesn't have ssh by default that i am aware...


putty is free.

PuTTY Download Page
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0