To get some of my routine tasks done, I used shell scripts that would telnet into my servers, do their work and logout on completion. This arrangement worked fine until I switched to the newer, more secure SSH arrangement and closed my telnet port.
I am now unable to use similar scripts. The first thing I did was to manually save the key generated to the local database. But the problem seems to be in that while telnet would send passwords in clear text, SSH will not. Obviously that was a major reason for switching to SSH, but I would still like to run my scripts. If anyone has any suggestions as to how I can achieve this, please let me know. My telnet script was something like: (sleep 5 ; echo 'userid' ; sleep 5 ; echo 'password' ; sleep 1 ; echo command1 ; sleep 1 ; echo command2 ; sleep 1 ; echo exit) | telnet IP.of.my.server Thanks in advance, PJN _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
