putty

PuTTY使用密钥登录到Linux

自古美人都是妖i 提交于 2019-11-29 04:14:32
在Windows管理Linux服务器时,常使用putty登陆ssh进行远程管理。默认登陆验证方式为密码认证,该方式虽然简单,但每次登陆都要输入一长串的密码,相当麻烦。而且,如果万一把root允许登陆打开,还有可能被强力破解,导致严重的后果。 所以,通常建议用密钥登陆验证代替密码方式,即简单,又可靠。 一、为什么建议使用密钥登陆 通常现在的Linux发行版都使用OpenSSH代替telnet、rsh等明文传输的终端服务。 以红旗 DC Server 5.0为例: 引用 # rpm -qa|grep -E -w 'openssh' openssh-clients-4.0p1-1.2AX openssh-server-4.0p1-1.2AX openssh-4.0p1-1.2AX 而OpenSSH默认是同时支持密码和密钥两种认证方式的。转一个说明: 为什么要使用公钥认证 通常,通过ssh登录远程服务器时,使用密码认证,分别输入用户名和密码,两者满足一定规则就可以登录。但是密码认证有以下的缺点: 引用 a)用户无法设置空密码(即使系统允许空密码,也会十分危险) b)密码容易被人偷窥或猜到 c)服务器上的一个帐户若要给多人使用,则必须让所有使用者都知道密码,导致密码容易泄露,而且修改密码时必须通知所有人 而使用公钥认证则可以解决上述问题。 引用 a)公钥认证允许使用空密码

Where is vimrc or vim profile for github's mingw32 shell on a Windows machine?

对着背影说爱祢 提交于 2019-11-29 03:17:53
Cygwin has a home directory where I can store a .vimrc file to set up syntax highlighting. I know on linux machines this file is usually in a home directory and that it can be stored globally (although I haven't figure out how the global thing works yet). I'm windows user (I apologize), so I use different shells for different things, and am not all too sure why syntax highlighting is not working when I launch it from the git bash shell. It works fine for cygwin and for putty. but not so much for git's mingw32. Another thing is that when I ssh to a remote server using cygwin, I cannot use Vim,

unable to get SSH keys working between sourcetree and github

不羁岁月 提交于 2019-11-29 01:44:57
问题 I was able to create a key and connect to github following these instructions via the command prompt successfully: https://help.github.com/articles/generating-ssh-keys However, when I try to connect via Sourcetree and putty I cannot. I've tried: generating a new key with the putty key generator (SSH-2 RSA) entering a passphrase saving the private key saving the public key and adding a .pub extension copying/pasting the key from the putty key generator window into github attemping to refresh

PuTTY configuration equivalent to OpenSSH ProxyCommand

我的未来我决定 提交于 2019-11-29 00:44:01
问题 I'm just trying to use PuTTY to get an SSH connection to my servers. These servers allow incoming SSH connection only from another specific server ("MySshProxyingServer" in example below). Using Linux this is no problem with the ssh -W command. In PuTTY I can't find the options to create such a connection. Example under Linux ( ~/.ssh/config ): Host MyHostToConnectTo Hostname xx.xx.xx.xx User root Identityfile ~/.ssh/id_rsa ProxyCommand ssh MySshProxyServer -W %h:%p Anyone knows how to use

Sending a file via POST using raw HTTP (Putty)

↘锁芯ラ 提交于 2019-11-28 19:53:37
If I set up a html page with the following form: <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> I can upload a file to upload_file.php where I can handle it using a php script. For testing purposes, I need to do the same using raw HTTP via a Putty session. I can do a normal POST (just sending text data) this way: POST /test_post.php HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0

远程登录

微笑、不失礼 提交于 2019-11-28 19:47:27
远程登录 登录工具:xshell, putty, secureCRT, Xmanager linux 可以远程登录 linux mac 也可以远程登录 linux ssh root@192.168.222.128 使用该命令可以在linux下登录linux,地址改为要登录的主机ip地址 xshell除了用户名密码登录还可以用秘钥的方式登录 公钥+私钥 公钥是用来加密的,私钥是用来解密的 创建秘钥方法如下 - 然后使用生成来产生秘钥 来源: https://my.oschina.net/u/4150462/blog/3098784

windows远程桌面管理软件下载软件总结

假装没事ソ 提交于 2019-11-28 19:45:46
一远程桌面管理工具(批量管理远程服务器) 主页: http://yczm.iis7.com/ 特点:批量管理,随意调节分辨率,批量保存账号密码,服务器到期提醒等。 截图: 一 RemoteDesktopManager (windows到windows的remote的管理) 主页:http://sourceforge.net/projects/tscm/ 特点:开源免费,只能用来管理远程的Windows机器连接。真正连接的时候还是调用mstsc.exe进程。 截图: 二RemoteDesktopManager (windows到windows和Linux的remote的管理) 下载:http://remotedesktopmanager.com/remotedesktopmanager/Home.aspx 特点:分为免费和企业版本,免费版本基本有所有的功能,但是是对家庭或个人用户使用;功能很强大,很多的自定义的设置;支持主流的windows和linux远程连接工具,对于windows的连接还是调用mstsc.exe,对于Linux我们可以使用ssh支持的putty,但如果使用vnc的话,可以连接windows,mac,linux: # Microsoft Remote Desktop (RDP) # VNC (UltraVNC, TightVNC and RealVNC) #

Copying stuff from vim running in putty

久未见 提交于 2019-11-28 17:56:27
I am running Vim 6.3 through putty and putty connection manager. I have the mouse option set (set mouse = a). I am able to paste things from the (windows) clipboard to vim by but selecting text in vim isn't copying anything to the clipboard. Does anyone know how do I do this? Note: I can't update Vim to a newer version. You can select some text with the mouse and then type: "*y to yank the selected text to the clipboard, then you should be able to use the clipboard content in another application. if "*y is to cumbersome to type, you can put the following in host .vimrc :noremap y "*y Hold down

了解一下 Linux 上用于的 SSH 图形界面工具

感情迁移 提交于 2019-11-28 17:28:23
如果你碰巧喜欢好的图形界面工具,你肯定很乐于了解一些 Linux 上优秀的 SSH 图形界面工具。让我们来看看这三个工具,看看它们中的一个(或多个)是否完全符合你的需求。 在你担任 Linux 管理员的职业生涯中,你会使用 Secure Shell(SSH)远程连接到 Linux 服务器或桌面。可能你曾经在某些情况下,会同时 SSH 连接到多个 Linux 服务器。实际上,SSH 可能是 Linux 工具箱中最常用的工具之一。因此,你应该尽可能提高体验效率。对于许多管理员来说,没有什么比命令行更有效了。但是,有些用户更喜欢使用 GUI 工具,尤其是在从台式机连接到远程并在服务器上工作时。 如果你碰巧喜欢好的图形界面工具,你肯定很乐于了解一些 Linux 上优秀的 SSH 图形界面工具。让我们来看看这三个工具,看看它们中的一个(或多个)是否完全符合你的需求。 PuTTY 已经有一些经验的人都知道 PuTTY。实际上,从 Windows 环境通过 SSH 连接到 Linux 服务器时,PuTTY 是事实上的标准工具。但 PuTTY 不仅适用于 Windows。事实上,通过标准软件库,PuTTY 也可以安装在 Linux 上。 PuTTY 的功能列表包括: 保存会话。 通过 IP 或主机名连接。 使用替代的 SSH 端口。 定义连接类型。 日志。 设置键盘、响铃、外观、连接等等。

3个Linux上的SSH图形界面工具

笑着哭i 提交于 2019-11-28 17:25:47
了解一下这三个用于 Linux 上的 SSH 图形界面工具。 在你担任 Linux 管理员的职业生涯中,你会使用 Secure Shell(SSH)远程连接到 Linux 服务器或桌面。可能你曾经在某些情况下,会同时 SSH 连接到多个 Linux 服务器。实际上,SSH 可能是 Linux 工具箱中最常用的工具之一。因此,你应该尽可能提高体验效率。对于许多管理员来说,没有什么比命令行更有效了。但是,有些用户更喜欢使用 GUI 工具,尤其是在从台式机连接到远程并在服务器上工作时。 如果你碰巧喜欢好的图形界面工具,你肯定很乐于了解一些 Linux 上优秀的 SSH 图形界面工具。让我们来看看这三个工具,看看它们中的一个(或多个)是否完全符合你的需求。 我将在 Elementary OS 上演示这些工具,但它们都可用于大多数主要发行版。 PuTTY 已经有一些经验的人都知道 PuTTY 。实际上,从 Windows 环境通过 SSH 连接到 Linux 服务器时,PuTTY 是事实上的标准工具。但 PuTTY 不仅适用于 Windows。事实上,通过标准软件库,PuTTY 也可以安装在 Linux 上。 PuTTY 的功能列表包括: 保存会话。 通过 IP 或主机名连接。 使用替代的 SSH 端口。 定义连接类型。 日志。 设置键盘、响铃、外观、连接等等。 配置本地和远程隧道。