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
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).
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
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide