【发布时间】:2014-08-28 16:03:35
【问题描述】:
根据标题,当我尝试通过ssh 隧道访问scp 时收到以下警告。在我的情况下,我不能scp 直接到 foo,因为设备 foo 上的端口 1234 被转发到专用网络上的另一台机器 bar(并且 bar 是给我一个到 192.168.1.23 的隧道的机器)。
$ # -f and -N don't matter and are only to run this example in one terminal
$ ssh -f -N -p 1234 userA@foo -L3333:192.168.1.23:22
$ scp -P 3333 foo.py ubuntu@localhost:
ubuntu@localhost's password:
stty: standard input: Inappropriate ioctl for device
foo.py 100% 1829 1.8KB/s 00:00
有人知道我为什么会收到关于Inappropriate ioctl for device 的警告吗?
【问题讨论】: