LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 05-30-2007, 06:35 AM   #1
send2rawat
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Rep: Reputation: 0
Open Putty from cmd


Hi can anyone help me ??
I have to open many puttys of a server at a time.
I just want to have batch file so that in just a click all the puttys will open without asking
for login and password (any way to provide the login and pwd in cmd)

I am watching all putty running at a time

Secondly I want to run 20 different tail commands in puttys
I want a prog that open these puttys and run tail command by itself(I would not like to open putty again and again)
 
Old 05-30-2007, 07:07 AM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Hints:

The "&" parameter after a command put's it into the background.

The manpage for putty will tell you what command line parameters are accepted.
 
Old 05-30-2007, 07:54 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Moved: Putty is a Windows based application, so this is more suitable in General.
 
Old 05-30-2007, 11:32 AM   #4
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 47
If you're looking for a way to log in multiple times without having to type username and password every time, check out this link: http://www.unixwiz.net/techtips/putty-openssh.html

You may also want to check out the Gnu utility 'screen' which allows you to have multiple login sessions open in a single terminal.
 
Old 05-30-2007, 11:41 AM   #5
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
For the no password I use puttygen.exe to create my ssh keys. I then specify it under connections, SSH, Auth and point private key for authentication to the private key you generated with puttygen.exe. (save as your default settings.) Copy the public key to your ~/.ssh/authorized_keys file.

on the shortcut I use to lauch putty I specify the path to putty.exe and then user@servername

ie
c:\downloads\putty.exe bob@server1

as for passing the tail -f /whatever/log/file you could easily create a alias to do that (I'm not sure how to pass that via the putty shortcut).
 
  


Reply

Tags
cmd, from, open, putty


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cmd Gins Linux - General 2 01-26-2007 05:01 PM
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 08:44 AM
CMD For Linux ebrind Red Hat 9 11-29-2004 09:51 AM
What is the cmd for RH 9.0 ipconfig? Thaidog Red Hat 6 02-20-2004 10:16 AM
CSH: "cmd >& file" or "cmd </dev/null >& file" stefanlasiewski Programming 1 09-08-2003 04:19 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration