Skip to content

Commit 9944147

Browse files
author
Montana Mendy
authored
Create fastssh.sh
1 parent af5f615 commit 9944147

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fastssh.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/expect
2+
eval spawn ssh -oStrictHostKeyChecking=no -oCheckHostIP=no (ssh info here)
3+
#use correct prompt
4+
set prompt ":|#|\\\$"
5+
interact -o -nobuffer -re $prompt return
6+
send "PASSWORD HERE
7+
\r"
8+
interact

0 commit comments

Comments
 (0)