Vim remote without password


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Vim remote without password
# 1  
Old 04-15-2016
Vim remote without password

Hello,

i would like to use vim to edit remote file like this : vim scp://user@host//path/file
The problem is that i have to type the password every time i save the file (:w). That not only annoying, that make that process totally useless.

How to process please ?

Thanks !

Last edited by Purgator; 04-18-2016 at 07:15 AM..
# 2  
Old 04-15-2016
Did you consider trying e.g. "public key authentication"?
This User Gave Thanks to RudiC For This Post:
# 3  
Old 04-18-2016
Thank you very much !
For anyone interested an lazy i followed those links :
kb.iu.edu/d/aews
Perform SSH and SCP Without Entering Password on openSSH

Moderator's Comments:
Mod Comment edit by bakunin: thank you for providing the links. I have turned them into real liks for you.

Last edited by bakunin; 04-18-2016 at 10:19 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to set password for file using vim in Linux/redhat?

Hello All, I have one query is "How to set the password for file using vi utility in linux. Please reply to my queries. I am waiting for reply. Thanks in advance. Thanks. Kuddus Shaikh (4 Replies)
Discussion started by: kuddusrhce
4 Replies

2. UNIX for Dummies Questions & Answers

Need to reset password on remote host

I have access to a variety of hosts. I need to be able to reset my password on 400+ hosts every 80 days due to password expiration. I connect to these servers across the country using an ssh telnet terminal. I am a Security Administrator, but I don't manage the Unix machines on our network. Is... (1 Reply)
Discussion started by: XtremeRevolutio
1 Replies

3. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

4. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

5. Solaris

how to Remote Reset Password for User ?

Hello, everyone i have a little scenario and would like help , SCENARIO OS : SunOS 5.10 Shell: KSH UserName 1 connects to Server1 .He should run a little command or somthing to server2 that Resets the password of user2. i have tried this : ssh user@server2 '/usr/local/bin/sudo passwd... (2 Replies)
Discussion started by: shatztal
2 Replies

6. Shell Programming and Scripting

how to Remote Reset Password for User ?

Hello, everyone i have a little scenario and would like help , SCENARIO OS : SunOS 5.10 Shell: KSH UserName 1 connects to Server1 .He should run a little command or somthing to server2 that Resets the password of user2. i have tried this : ssh user@server2 '/usr/local/bin/sudo passwd... (0 Replies)
Discussion started by: shatztal
0 Replies

7. Shell Programming and Scripting

without password to login into remote machine- in the script ??

HI, I need to write a script .. when I run this script , will directly goto that remote machine without asking password.. Once it is entered, I needs to transfer some of the log files... how can I proceed ? (7 Replies)
Discussion started by: hegdeshashi
7 Replies

8. UNIX for Advanced & Expert Users

remote ftp login without password

HI all, I need to post some files on to a clients machine and they said we can ftp without username and password. I do the same as a command line it works ftp <hostname>. but when I do that through a script it asks for user name and pasword. Can any one help me how to do a file ftp. ... (4 Replies)
Discussion started by: umathurumella
4 Replies

9. Shell Programming and Scripting

want to do login to remote server with out password

Hi All I am new to Unix. I have write srcipt which will automate the follwing tasks login to F-Secure server over ssh copy file from my local server to that server. Remote server wants to login with out password(ssh-keygen) I am not getting how to write that scirpt Please help me... (0 Replies)
Discussion started by: prithvi0075
0 Replies

10. UNIX for Dummies Questions & Answers

password not prompt when doing a remote log in

hi when i do a remote log in to server A from other servers using root account, i am able to log in to server A without keying in any password. right now i would like to find out which files am i suppose to set in order to prompt user for password everytime they do a log in from other server.... (1 Reply)
Discussion started by: legato
1 Replies
Login or Register to Ask a Question