Warning: Trying to access array offset on value of type bool in /home/r1029599/public_html/engineer-log.net/wp-content/themes/simplicity2/lib/customizer.php on line 5404

Linux一覧

scpできなくて私もハマった

問題 scpがエラー無く終わるが、何も転送されていない % scp otiai10@foobar.com:~/test.txt ~/ Enter passphrase for key '/User/otiai10/.ssh/foobar': foobar % % ls -la | grep test.txt % # ← あれーん? tl;dr, 解決 リモート側の.bashrcでログイン時にログインしたホスト名を出力するようにしていたのが原因だったっぽい?(ナンデ?) # リモートの~/.bashrc ### 以下をコメントアウトしたら動いた hostname 参考 Linux scp com…

– PR –
– PR –