parallel-p / please

Open-source cross-platform tool for creating and editing contest problems for programming contests (such as ACM ICPC, IOI, etc.)
9 stars 0 forks source link

password in scp #246

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SCP under linux asks password every time using (i.e. in export to ejudge)

Original issue reported on code.google.com by A.Ma...@gmail.com on 28 Jul 2012 at 5:54

GoogleCodeExporter commented 9 years ago
Можно сделать такой скрипт:
#!/usr/bin/expect
        spawn scp  /mnt/backup.tar root@235.658.158.325:/home
        set pass "REHRKJH564564"
        expect {
        password: {send "$pass\r"; exp_continue}
                  }

Original comment by gurovic@gmail.com on 30 Jul 2012 at 5:41

GoogleCodeExporter commented 9 years ago
Not really `please' bug.

Original comment by alex0pla...@gmail.com on 8 Aug 2012 at 6:02

GoogleCodeExporter commented 9 years ago
really please problem

Original comment by gurovic@gmail.com on 8 Aug 2012 at 8:15