我试过这个:
sudo apt-get install virtualbox-guest-dkms and enabling bidirectional shared clipboard.
Run Code Online (Sandbox Code Playgroud)
VirtualBox 4.12 共享剪贴板在 Ubuntu14.04 中不起作用
和其他各种东西,现在很难收集,但到目前为止没有任何效果。
如何解决?
更新
尝试插入访客添加 CD 映像时,出现此错误:
从这个问题,Unable to Install Guest Additions CD Image on Virtual Box,我试过:
也试过:
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso and this gives:
Run Code Online (Sandbox Code Playgroud)
重新启动虚拟机没有帮助,没有错误。
我正在尝试建立一个隧道。
当我运行命令
ssh [user]@[host] -p [port] -L [localport]:[ip]:[port2] -N -vv -y -i /home/glab/.ssh/id_rsa
Run Code Online (Sandbox Code Playgroud)
隧道开始。但问题是它在一段时间后停止工作。
然后我发现我需要 autossh。尝试过这个,然后与主管一起尝试。没有任何帮助。
在 var/log/syslog 文件中,我看到了很多日志,第一个生命是:
Oct 21 07:40:01 localhost autossh[17521]: starting ssh (count 8)
Oct 21 07:40:01 localhost autossh[17521]: ssh child pid is 17541
Oct 21 07:40:01 localhost /usr/bin/ssh[17541]: OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
Oct 21 07:40:01 localhost /usr/bin/ssh[17541]: debug1: Reading configuration data /etc/ssh/ssh_config
Oct 21 07:40:01 localhost /usr/bin/ssh[17541]: debug1: /etc/ssh/ssh_config line 19: Applying options for *
Oct 21 07:40:01 localhost /usr/bin/ssh[17541]: debug2: ssh_connect: needpriv …Run Code Online (Sandbox Code Playgroud)