CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 22:51:22 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=7de1455a4511911516b921d2e38f026c39263d7a2e9e0d88a647bd887c4db702a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22GiPWHDOIV4NVEUDaH1cxWLwPk9yn0qwO%22%3B%7D; HttpOnly; Path=/
cf-ray: 98c9ae962d06c467-BLR
copy-ssh-id batch scripts (expect/tcl) - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/expect -f
- set timeout 5
- set ip_cnt 0
- log_user 0
- puts ">>> Start adding keys <<<"
- set fh [open [lindex $argv 0]]
- while {[gets $fh line] >= 0} {
- set info [ split $line ]
- set ip [ lindex $info 0 ]
- set passwd [ lindex $info 1 ]
- puts -nonewline [format "#%-3d adding keys for %-15s ...... " [incr ip_ct] $ip]
- flush stdout
- spawn -noecho ssh-copy-id root@$ip
- expect {
- timeout { puts "time out" }
- "yes/no" {
- send "yes\r"
- expect "password:" { send "$passwd\r" }
- }
- "password:" {
- send "$passwd\r"
- expect {
- "key(s) added: " { puts "success" }
- "Permission denied" { puts "wrong password"; send "\003" }
- }
- }
- "skipped" { puts "already installed!" }
- }
- }
- close $fh
- puts ">>> Done <<<"
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ G
JavaScript | 1 min ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ J
JavaScript | 2 min ago | 0.24 KB
-
⭐⭐Exchange Exploit⭐⭐ E
JavaScript | 2 min ago | 0.24 KB
-
✅⭐ Make huge profits on trading ⭐⭐ 0
JavaScript | 2 min ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 7
JavaScript | 3 min ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 7
JavaScript | 3 min ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ C
JavaScript | 3 min ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 6
JavaScript | 3 min ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand