how to use sh script to ssh login sup720
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 03:44 PM - edited 03-02-2019 09:26 PM
we configured our sup720 to use ssh only. no telnet.
that bring me a problem to write shell script to access sup720. the pseudo terminal not work anymore.
Cold I get advice that how can I write the script to access the box
Any comments will be appreciated
Thanks in advance
- Labels:
-
Other Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 04:40 AM
The best way I know to do this is to use an expect script. There are ways of creating a better pseudo-terminal under PERL that will work just fine with OpenSSH, but it doesn't work with the OpenSSH SCP client (but expect does).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 02:02 PM
Great thank for the reply.
Could you please advice me an expect script? and where I can find it? is it free to download?
Many regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 03:36 PM
Hi,
You can find details of Expect scripting here
Also your can download the package for windows & Unix from the above mentioned url
Regards
SKJ
