当前位置: 首页 >> Tag标签为 'putty'

SSHFS for Windows — *nix与Windows文件共享的一种方式

提到Windows如何与Linux(Unix)文件共享,大家最先想到的就是以下这些了:

1、Samba:似乎有一种先入为主的感觉,因为几乎所有的书籍都是这么介绍的,的确,Samba做的很好,并且能够很好的实现Windows与Unix类系统进行文件及打印机等资源共享。

缺点:如果不是在同一个子网,受限制与管理员(如果445端口被封了,只能靠VPN来搞定了)。

Read the rest of this entry »

解决SSH X11-Forwarding无法工作

熟悉SSH X11-Forwarding的朋友都知道,只要打开SSH X11-Forwarding后,远程的图形界面就可以通过SSH的加密隧道“拽”到本地的xserver上来,无需手动在远程设置DISPLAY变量。

Putty设置X11-Forwarding方法:

Connection ->  SSH -> X11 -> X11 frowarding -> Enable X11 forwarding

检查X11 forwarding是否开启方法:

登录远程主机后,运行:

set | grep DISP
DISPLAY=localhost:10.0

但是在某些主机上,无论你在客户端如何设置,都无法正确的使能X11 forwarding功能,登录后DISPLAY永远是空值。sshd_config文件也没有将X11 forwarding功能禁用。

解决办法:

原来X11 forwarding依赖“xorg-x11-xauth”软件包,所以必须先安装“xorg-x11-xauth”软件包。

yum install xorg-x11-xauth

安装“xorg-x11-xauth”后首次登录远程主机提示

/usr/bin/xauth:  creating new authority file /home/wzk/.Xauthority

Putty Mirroring guidelines

If you want to set up a mirror of the PuTTY website, go ahead and set one up. Please don’t bother asking us for permission before setting up a mirror. You already have permission.

If the mirror is in a country where we don’t already have plenty of mirrors, we may be willing to add it to the list on this page. Read the guidelines below, make sure your mirror works, and email us the information listed at the bottom of the page. Read the rest of this entry »