ssh & script problem

Posted by Nishanth on Stack Overflow See other posts from Stack Overflow or by Nishanth
Published on 2011-03-20T08:08:09Z Indexed on 2011/03/20 8:09 UTC
Read the original article Hit count: 223

Filed under:
|
|
|
|

I am having a strange problem while doing ssh. I am not sure where the term Unmatched ` is coming from. What I need to do is run script that logs information of what I am doing on the terminal to text file. After ssh -

Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
This is /etc/motd, last updated 3 Feb 2003.

To learn about the UCS system and other aspects of computing at UL-Lafayette
visit our home page http://helpdesk.louisiana.edu/ .

For more information about system use, contact the Help Desk, Stephens
Hall, Room 201, 482-5516 (x25516), during normal UL office hours; or send
e-mail to [email protected].


ATTENTION:
Unsecure Telnet and FTP will be turned off soon.
Please make arrange to use ssh or sftp.
Putty(telnet) and WinSCP(ftp) would be a good replacement.


Unmatched `
d13.ucs.louisiana.edu% bash
bash-2.04$ script -a myInformation.txt
Script started, file is myInformation.txt
Unmatched `
d13.ucs.louisiana.edu%

When I tried to start the script with name myInformation.txt, you can see the message I am getting - Script started, file is myInformation.txt. But again I am getting that message Unmatched ` and is coming out of bash, as you can notice. What is the problem ? Any insights suggested would be very great.

Note: file with name myInformation.txt is being created but nothing goes in to it. As I have even tried running certain commands like ls and then exited the script with ctrl+d. But when I open the file, nothing is there.

© Stack Overflow or respective owner

Related posts about linux

Related posts about ssh