I've created a .bat file with this line:
That opens a putty session and logged in it with the user and password i've already specified. But now, I want to enter a simple command like "ls -l" for example.. How can I do that?
I've also tried plink...The line in that case is this one:
and in that file "UNIX_commands.txt" I've added the following lines:
all works fine (the commands are executed) but i can't see the putty session... all i can see is the verbose in my DOS windows of the last line "ls -l"...
The putty session vanishes away. How can I have the session opened and list the mentioned directory.
Please help
Regards
Nirmal
---------- Post updated 02-04-11 at 09:44 AM ---------- Previous update was 02-03-11 at 01:05 PM ----------
all works fine (the commands are executed) but i can't see the putty session... all i can see is the verbose in my DOS windows of the last line "ls -l"...
That's what plink does. plink isn't putty.
Quote:
The putty session vanishes away. How can I have the session opened and list the mentioned directory.
You could put that in your .profile file (on the server, that is) so it always happens automatically when you log in.
By the way, you agreed not to bump posts when you registered here.
Hello All,
I am running a script (power shell) from my desktop (Windows). The script needs to sftp a file(using PuTTY psftp.exe ) from my desktop to a server(UNIX server). Then, as a second step, the script needs to move (or copy and delete) this file from one directory on the server (UNIX server)... (3 Replies)
Hello,
I was wondering, we have multiple servers where we login from Putty.
Is there some way we get automatically loged in after giving server name and password(by saving it in some file or like that)
Just a thought (2 Replies)
hi,
i have ubuntu installed on windows 7.
I am trying to connecting to ubuntu from windows 7 using putty but it is giving network problem.
I am trying to connect with ip address
Thanks (9 Replies)
Hello All ,
Requiremnt : i want to login to putty automatically and change the settings like i want , for ex : changing the "lines of scrollback" , " under colors , want to check to checkmark the option use system colors" . Like this i want to do .
I have a bash file created to login . But... (2 Replies)
Hi Guys ,
I am using putty.exe file to login to servers . I heard that there is way to save my username and password in putty so that i no need to give my creds while logging into putty . If so please provide me th way to do so .
Please note : I am not talking about keyfile .
Thanks in... (6 Replies)
Hi all,
I am able to login via putty to a fedora 10 workstation.
But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work.
$ who -r
... (4 Replies)
Hello Everybody,
I have a question on the UNIX server login with putty.
Can this login procedure into PUTTY be automated with a macro or vbs or batch file?
Kindly help me in directing me for the above.
Thanks for the help,
Regards, (3 Replies)
I am changing root password by passwd. Now I can directly log into the system but I can not log in using puttytel.
It will show an error "Incorrect Password":rolleyes: (1 Reply)
Hi,
I am having small query and wheather it is possible ? that user can transfer the files using ftp client examples (filezilla) , but he can not use putty to login using ftp and run the commands,
Regards,
Manoj (2 Replies)