i was having problem on unix command.here's my script
ok the thing is like this, i could login to putty by running this script, but i counldn't run the "filecopy\file_sporc01putfiles2.txt", the error msg was
"unknow command -b"
the content of "filecopy\file_sporc01putfiles2.txt"
i could login in the putty, just couldnt script it to run the command inside the putty. The purpose of this script is with just one button then i can upload my file in automatic, instead of i've to put in the server manually.
If you are trying to send a file from your windows box to a unix system, try using pscp instead of Putty. The pscp command should be part of the putty package. Google 'pscp batch file' and you'll get some good examples. It also supports passwords or key pairs for automation.
Dear All,
I want to run a shell script with out logging to putty but configuring it to a keyboard short cut it windows PC. Can this be done? I want this to rename a log in a specified folder in a system
Thanks (8 Replies)
Hello Forum members
There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum.
Advance Thanks
Siva. (5 Replies)
We have a requirement where in the user needs to select a option 4 from the menu and the putty window should be closed.I tried giving exit 0 ;; and this is only exiting from the script menu and showing back the prompt.Is there a way for this. (2 Replies)
Dear,
I have written below code to initiate the log at top of my script.
#Set the log file
LOGFILE=<path>/<filename.log>
exec > $LOGFILE 2>&1
...............
....
...
..
............
echo -e "\n\n Script finished OK " `date "+%m/%d/%y %H:%M:%S" ` "\n\n"
exit 0
the logging ends only... (14 Replies)
We currently use TUN as an emulation program to connect to various unix applications. I am looking at moving to PuTTY release 0.60 but am getting stuck as one application runs a macro at startup to run a program.
My question is, can you run a macro from PuTTY?
Any pointers would be great. (0 Replies)
I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system.
Is it possible? If yes, how can I do that? (2 Replies)
i frequently have to open multiple putty windows to ssh into a unix server running HP-UX 11.23. Since i use some of the windows for dedicated processes i would like to rename them (the caption displayed in the titlebar) to something more convenient than the standard <Host>.<Server>.com
While... (4 Replies)
On my opinion, one of the best ssh/telnet clients for windows, putty released a new version:
Get it here, PuTTY 0.59
- PuTTY can now connect to local serial ports as well as making network connections.
- Improved speed of SSH, particularly SSH-2 key exchange and public-key authentication
-... (2 Replies)