mirror of
https://github.com/NishiOwO/chimera.git
synced 2025-04-21 16:44:40 +00:00
19 lines
546 B
Bash
19 lines
546 B
Bash
#!/bin/sh
|
|
#
|
|
if [ ! "$1" = "" ]
|
|
then
|
|
read hostname portno username password < $1
|
|
if [ ! "$username" = "" ]
|
|
then
|
|
if [ "$password" = "" ]
|
|
then
|
|
echo When connected, login as $username
|
|
else
|
|
echo When connected, login as $username with password $password
|
|
fi
|
|
fi
|
|
echo You may need to press Return to "wake up" the other computer
|
|
echo when you are connected.
|
|
telnet $hostname $portno
|
|
fi
|