11-21-2008
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.
9 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
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)
Discussion started by: pressy
2 Replies
2. Shell Programming and Scripting
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)
Discussion started by: orno
4 Replies
3. UNIX for Advanced & Expert Users
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)
Discussion started by: agnivaccent
2 Replies
4. Shell Programming and Scripting
HELP!!!!
I want to execute a PUTTY telnet connection via UNIX script???
Any help please??
Thanks (1 Reply)
Discussion started by: tontal
1 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: virtualpaul
0 Replies
6. Shell Programming and Scripting
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)
Discussion started by: Imran_Chennai
14 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: gopalt
2 Replies
8. UNIX for Dummies Questions & Answers
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)
Discussion started by: workforsiva
5 Replies
9. Windows & DOS: Issues & Discussions
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)
Discussion started by: Chi_SL
8 Replies
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.10 30 Jan 2004 script(1)