使用CMD telnet登录虚拟机Linux Ubuntu7.10

每次要做什么东西,,跑到虚拟机里边来很麻烦,要想转出去还得用Ctrl+Alt,如果是作开发的话再打开 终端,当然也可以直接启动在text mode下,但是那个模式下边窗口很小,滚动之后上边的东西就看不见了,所以我一致在寻找通过Windows的CMD操作虚拟机中的Linux的方法。终于找到了,那就是使用telnet。

1. sudo apt-get install xinetd telnetd

2. 安装成功后,系统会有相应提示(我使用的是7.10)——— IMPORTANT INFORMATION FOR XINETD USERS ———-The following line will be added to your /etc/inetd.conf file:

telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd

If you are indeed using xinetd, you will have to convert theabove into /etc/xinetd.conf format, and add it manually. See/usr/share/doc/xinetd/README.Debian for more information.

3. sudo vi /etc/xinetd.conf并加入以下内容(该文件本身存在,只是加入几行即可): # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { # Please note that you need a log_type line to be able to use log_on_success # and log_on_failure. The default is the following : # log_type = SYSLOG daemon info

instances = 60 log_type = SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST cps = 25 30 } includedir /etc/xinetd.d

自己不喜欢的人,可以报之以沉默微笑;

使用CMD telnet登录虚拟机Linux Ubuntu7.10

相关文章:

你感兴趣的文章:

标签云: