putty

在git与tortoisegit中使用openSSH与PuTTY

大城市里の小女人 提交于 2019-12-04 14:44:58
问题 在使用Git与tortoisegit的时候,指定远程版本库的地址有2种方式: 使用https方式的git地址非常直接(https://xxx.oschina.net/xxx.git),基本上什么都不需要配置,不管是git bash还是tortoisegit都能完美使用,但是每次需要连接远程服务器时,都要提示我输入用户名与密码,非常不爽; 使用ssh方式的git地址非常爽快(git@git.oschina.net:xxxx/xxx.git),不需要输入密码,但是需要配置。 第一种方式没啥说的,第二种方式的应用,我配置的时候出现了一个问题: 配置了tortoisegit的putty后,直接用tortoisegit可以不输入密码直接完成操作;但是当我使用git bash的时候,使用git pull之类的命令还需要我输入密码... P.S. 别说我闲的,有tortoisegit为啥还用git bash。实际上,使用git bash在有的操作上还是挺方便的(比如删除分支 git push origin :branchx)。 那怎么弄才能让这2个小家伙都不输入密码呢? 这里又有两种办法... 调整tortoisegit的settings中的network选项,将tortoisegitplink.exe改成git安装目录的下bin\ssh.exe。如果先前用ssh-keygen

解决ssh登录Ubuntu乱码的问题

£可爱£侵袭症+ 提交于 2019-12-04 13:05:42
最近买了一台新电脑,我把旧的电脑变成一台服务器,使用Ubuntu8.04操作系统。 但是发现用SSH Secure Shell Client 登录ssh,中文路径会乱码。 上网google一下,使用putty,修改一下配置解决乱码问题。 但putty不能上传,下载文件,于是试用其他ssh客户端,如 Tunnelier, SecureCRT,但发现这些软件显示中文路径会乱码。这个问题一直困扰我好几天。 后来突然想到可以尝试用FileZilla来登录sftp, 发现FileZilla可以正常显示中文路径。 终于ssh登录Ubuntu终于有了一个比较好的解决方法:putty+FileZilla。 来源: CSDN 作者: riag 链接: https://blog.csdn.net/riag/article/details/3863088

emacs 24 on windows 7, tramp cannot find plink program

孤街醉人 提交于 2019-12-04 12:43:43
I am trying to use Emacs 24.2 with Tramp on windows 7 to remotely edit files on a linux server. I installed the Putty suit program and OpenSSH. I also placed the plink.exe in the putty suit into the bin folder under the emacs 24 folder, and added the folder emacs24/bin into the PATH environment variable. However, when I try to access the remote file from emacs with the command in the minibuffer: /username@host:filename, I get the following error message from emacs: plink is not recognized as an internal or external command. It seems that emacs cannot find the plink program. But, when I try to

Capture STDIN / STDERR / STDOUT of a process AFTER it's been started, using command line?

元气小坏坏 提交于 2019-12-04 11:18:17
问题 Thanks! My usercase: I started a lengthy interactive 'configure' process (say under 'screen'), and then realised I need to always answer 'no' until I see a particular keyword. Seems a waste of time to do this by hand (not to say that I can easily miss the keyword..) Thus it seems I want to pipe (a copy of) STDERR / STDOUT to a filter, and also be able to inject into the STDIN of a (console) process, AFTER it's been started, using command line? Is there a ready-made solution? The following

How to generate SSH 2 RSA key in C# application?

折月煮酒 提交于 2019-12-04 10:29:36
I would like to write an application that will generate SSH 2 RSA public and private keys as well. I would like to get the keys as format as the PuTTY Key Generator can generate. With the help of ChilKat I can generate the public and private keys as well, but I don't know how to get that kind of format. Is there any sample to get the keys at that format or I missed something? Thank you very much! I found a solution: Download the Chilkat.NET Nuget from the Nuget Gallery. With the help of this library, you can generate an RSA Key Pair in the following way: public ISshKeyPair RsaKeyPair() {

Putty Google Cloud compute

拥有回忆 提交于 2019-12-04 07:38:46
I am very new to google cloud and putty. My question is when I open putty on my computer and type in the EXTERNAL IP into putty. I screen opens up and asks me for a Login.. my question is what do i put in for my login. Is it the google username account ? a better question would be where can I find the login and password that I need to login to VM Boyan Here's some info on how to get you started . You shouldn't have to enter a login password. If you really want to, first connect via SSH keys and then use root privileges to change the password for the account to what ever you want. You have a

execute sudo command on linux from plink.exe[windows]

假装没事ソ 提交于 2019-12-04 07:07:15
If I execute the plink command plink user@192.168.1.12 sudo nano /etc/hosts Upon typing the password when prompted, I am getting sudo: no tty present and no askpass program specified Sorry, try again. sudo: no tty present and no askpass program specified Sorry,try again. sudo: no tty present and no askpass program specified Sorry, try again. sudo: 3 incorrect password attempts How to execute the sudo command from plink? Or is there any alternatives? user2948547 i know that the question is old but this can help you can execute plink (putty tools) plink -v -ssh -m "path/to/commands.txt" -l

Access Hive Tables in SQLClient but not from the Putty

China☆狼群 提交于 2019-12-04 05:37:40
问题 I am new to Hive, MapReduce and Hadoop. I am using Putty to connect to hive table and access records in the tables. So what I did is- I opened Putty and in the host name I typed- vip.name.com and then I click Open . And then I entered my username and password and then few commands to get to Hive sql. Below is the list what I did $ bash bash-3.00$ hive Hive history file=/tmp/rkost/hive_job_log_rkost_201207010451_1212680168.txt hive> set mapred.job.queue.name=mdhi-technology; hive> select *

PuTTY PSCP error “Local to local copy not supported” when username contains a slash

拥有回忆 提交于 2019-12-04 04:38:11
I am trying to move a file from my local Windows machine to a remote Linux server using PSCP. I am connected to the VPN so that I can access my remote Linux machine with my username and password. My PSCP command for transfer is: pscp C:\Users\username\Desktop\list.txt PEM\username@10.120.43.78:/home/local/PEM/username This result in the error Local to local copy not supported I have tried this command just for a trial pscp C:\Users\username\Desktop\list.txt username@10.120.43.78:/home/local/PEM/username The above command resulted in asking me the password. However, when I type in the password,

CentOS下开启SSH Server服务

我与影子孤独终老i 提交于 2019-12-04 03:54:40
  无论是CentOS系统的虚拟电脑还是服务器,始终感觉直接在命令行中操作不方便;比如全选、复制、粘贴、翻页等等。比如服务器就需要在机房给服务器接上显示器、键盘才操作感觉更麻烦。所以就可借助SSH(安全外壳协议)远程操作和管理系统,不仅方便而且安全可靠。   1、登录Centos6.4系统。   示例:使用root用户登录。   注:若为非root用户登录,输入执行某些命权限不够时需加sudo。      2、查看SSH是否安装。   输入命令:rpm -qa | grep ssh   注:若没安装SSH则可输入:yum install openssh-server安装。      3、启动SSH服务。   输入命令:systemctl restart sshd 重启SSH服务。   命令:systemctl start sshd 启动服务 | 命令:systemctl stop sshd 停止服务   重启后可输入:netstat -antp | grep sshd 查看是否启动22端口(可略)。      4、如何设置SSH服务为开机启动?   输入命令:systemctl enable sshd 即可。   注:若是systemctl disable sshd 则禁止SSH开机启动。      5、远程访问连接Centos6.4系统。   Windows下使用:putty