ssh with password
location: linuxquestions.com - date: March 1, 2007
I want to make a crontab that connects via ssh to a host with login and password that I desire, could you please help ?
Thank you in advance,
Execute ssh with password authentication via windows command prompt
location: linuxexchange.com - date: November 19, 2015
I need to execute ssh from windows command line by providing password in a non interactive manner. I could implement the key based authentication and able to execute the ssh commands just like
ssh <user>@<host> <command>
Is there any commands like
ssh <user>@<host> -P <password> <command>
I don't know if it is feasible. However, there can be some work around for the same. Throw me some ideas to accomplish the same.
[SOLVED] ssh with no password?
- date: July 31, 2008
I wrote this backup script for my teamspeak server
#backsup teamspeak server locally and on remote machine
#create a local archive and a list of the archive contents
tar cvvjf tssbackup-$date.tar.bz2 --exclude tsbackup ~/ > tssbackup-$date.list
#remove old backups
find tssbackup* -atime +6 | xargs rm
echo Local backup finished
#now repeating process on desktop computer
tar cf - --exclude tsbackup ~/ | ssh [email protected]
"cd backup/tssbackup ; tar xpf - ; tar cvvjf tssbackup$date.tar.bz2 home/ > tssbackup$date.list ; find tssbackup* -atime +6 | xargs rmf ; rm -rf home/"
echo Remote backup finished
obviously I'm going to need to be able to ssh from the server to my desktop with no password, following this URL doesn't seem to work.
I am copying a key located at
/etc/ssh/ssh_host_rsa_key.pub on the server
~/.ssh/authorized_keys on the desktop
restart ssh on desktop with
sudo /etc/init.d/ssh resta
[SOLVED] how to ssh into host with password option
location: linuxquestions.com - date: July 17, 2011
I am using Ubuntu OS. Any command in Linux, how to ssh into host using password option ?
avoid been ask password by ssh with script?
location: linuxquestions.com - date: December 19, 2004
Is there any way to add password to a shell script so that when i use ssh, it will not ask me for password?
I didn't find such argument in the man page.
ssh with username and password in the command itselt
- date: February 1, 2012
I am using ZOC to automate some work. I want to ssh to a server with a given IP providing the useername and password. I am using the following command.
Call ZOCSetDevice "SSH"
Call ZOCConnect "adv: [email protected]
The command works fine except when password contains '@' sign. how to pass the password in the above command with '@' sign also so the command looks like
Call ZOCConnect "adv:'[email protected]
ssh with no password
- date: September 24, 2007
I am trying to setup ssh using public key authentication with putty.
It works for root, but not for my non-privileged user.
I even tried copying the .ssh/authorized_keys file from root to the non-privileged user home, but that did not help. If anyone can think of why it does not work for the non-privileged user
This works: pscp c:\putty\abc.tst [email protected]
This does not work: pscp c:\putty\abc.tst [email protected]
I would appreciate the help.
[SOLVED] Rsync through ssh with public/private key keeps asking for password
location: linuxquestions.com - date: November 4, 2014
I'm trying to do an rsync command through ssh without having to enter password by using public/private keys, but it keeps asking for a password.
I have created the keys on my main system by using ssh-keygen and transferred the .pub key to my backup system
Then I created an authorized_keys by using touch authorized_keys, then chmodded to 600 and then cat sshkey.pub >> authorized_keys
All this seems to have worked fine since I can do:
ssh -p <mysshport> -i /<pathtokey>/sshkey <user>@<backuphost>
This logs me in without a password prompt, so I'd think I did everything correctly, however if I try:
rsync -avz --delete -e "ssh -p <mysshport> -i /<pathtokey>/sshkey" /<localfolder>/ <user>@<backuphost>::<rsyncshare>
It asks me for a password, if I then enter the right password it continues without a problem.
I just don't understand why it asks me for a password
Public key authentication with ssh With out Password
- date: December 30, 2009
I configured Public key authentication with ssh . But every time when i try to connect it is prompting for password .
Can any one have any idea on this ?
testinst1.koel.co.in/apps12i]ssh -v [email protected]
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to testinst3.koel.co.in [10.1.1.151] port 22.
debug1: Connection established.
debug1: identity file /apps12i/.ssh/identity type -1
debug1: identity file /apps12i/.ssh/id_rsa type -1
debug1: identity file /apps12i/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server
SSH Login with Password in URL
- date: April 28, 2013
I have Jenkins cloning the Git repository at
and it all works fine, but I need to login with a password, which Jenkins doesn't support. Is there a way to login with the password in the URL? Security is not an issue for me. It should end up being, and I thought it was this at first:
but it doesn't work. Thanks!
Update #1: The git repo is on the same server.
Page: 1 2 3 4 5 6 7 8 9 10