Search Results

Search: Posts Made By: toro95037
2,600
Posted By toro95037
(ssh is the best way to go) ...but, I did...
(ssh is the best way to go) ...but,

I did get this working with no expect commands on port 23:
(vi telnetpass.sh)

#!/bin/sh
host=test001.your.company.com
port=23
login=admin...
2,600
Posted By toro95037
You could try something like this (not sure if it...
You could try something like this (not sure if it will work on port 23):


username="myLogin"
password=`cat passwd.txt`

telnet 192.168.10.100 8101 <<EOF
$username
$password
...
7,797
Posted By toro95037
Yes, I agree with dude2cool --- make it simpler,...
Yes, I agree with dude2cool --- make it simpler, get rid of all those do's and indentation makes it easier to read and to follow your logic flow ...


#!/usr/bin/ksh

for server in `cat...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy