Search Results

Search: Posts Made By: Jeeva_Ganesan
2,603
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...
915
Posted By elixir_sinari
echo "password is "$pwd" See that? That's the...
echo "password is "$pwd"
See that? That's the culprit...
2,603
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
...
Showing results 1 to 3 of 3

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