Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ssh without password not workking Post 302505897 by gopc on Friday 18th of March 2011 12:36:02 AM
Old 03-18-2011
ssh without password not workking

i tried to automate ssh login without password but really it was not working...
i don't know what is the problem Smilie

i had given the steps i had tried it.


1) login in the hyper (source) with gopc id
2) ssh-keygen -t dsa
3) when you enter the default text then two files will be created (id_dsa and id_dsa.pub)
4) scp ~/.ssh/id_dsa.pub visaac@stage2vm1044:~/
5) go to the stage2vm1044 (dest) and run the below command
cat ~/id_dsa.pub >> ~/.ssh/authorized_keys
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no password ssh

Hello all, I would like to know if anyone had ever set up a network in which they used DHCP and OPENSSH with no password. I can configure my ssh files to allow me to enter any machine without a password as long as I have generated the public and private keysa nd store them in my .ssh/aut... ... (3 Replies)
Discussion started by: larryase
3 Replies

2. HP-UX

ssh without password

Hi, I have the necessity to run a korn shell on a remote server (both HP-UX servers) using the ssh command. The sintax that I use is ssh -l <remote user> <IP address of remote host> command(ksh script) Pressing enter I need to set the password of the remote user. Is it possible to... (2 Replies)
Discussion started by: gio123bg
2 Replies

3. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

4. Shell Programming and Scripting

SSH with password

Please help me I want connect to orther server using ssh. But I need to transfer password also without entering when it is prompts. Please help me. (1 Reply)
Discussion started by: saga499
1 Replies

5. UNIX for Dummies Questions & Answers

SSH with no password

How to setup SSH to not require a password when establishing an SSH connection from server A to server B for particular user? (4 Replies)
Discussion started by: sam101
4 Replies

6. Solaris

Can't SSH log in without password.

I am working on Solaris 10 Sparc. While ssh trust relation building for SUN-CLUSTER on server, I am facing issue. I can log in from server2 to serer1 direactly but when i log in to server1 from server2 it prompts password. root@app1 # ssh app2 Last login: Wed Jul 27 14:08:14 2011... (0 Replies)
Discussion started by: anand87
0 Replies

7. Red Hat

ssh without password

Hi, I am trying to generate ssh without having to type a password. I have done this on numerous occasions using the procedure below and it has worked fine but not on this occasion. user1@sys1:ssh-keygen -t dsa -N "" <press enter for any questions> user1@sys1: ll .ssh/id_dsa.pub... (16 Replies)
Discussion started by: Duffs22
16 Replies

8. Shell Programming and Scripting

Password in ssh

Hello Guys, I have a specific requirement where I need to provide password to ssh and sftp in my script on Solaris. I know password-less connection is the way without password but in my case, I cant use the same due to some limitations. Please let me know if we can tweak it. (7 Replies)
Discussion started by: Deei
7 Replies

9. Red Hat

SSH password less setup asking for password

Hello Experts, when I am trying to connect my target server through sftp after creating ssh password less setup, it is asking for passowrd to connect. to setup this I followed below process: -->generated keys by executing the command "ssh-keygen -t rsa" -->this created my .ssh directory... (9 Replies)
Discussion started by: Devipriya Ch
9 Replies

10. UNIX for Beginners Questions & Answers

Ssh password

Hi there. I am fully aware of the security implications, but is there a way give a user password with the rsh and/or ssh commands? Such as: ssh user@192.168.0.56 -p password Or pass a config file to the command containing a password? I'm looking after a cluster and trying to use PSSH,... (6 Replies)
Discussion started by: MuntyScrunt
6 Replies
fence_egenera(8)					      System Manager's Manual						  fence_egenera(8)

NAME
fence_egenera - I/O Fencing agent for the Egenera BladeFrame SYNOPSIS
fence_egenera [OPTION]... DESCRIPTION
fence_egenera is an I/O Fencing agent which can be used with the Egenera BladeFrame. It logs into a control blade (cserver) via ssh and operates on a processing blade (pserver) identified by the pserver name and the logical process area network (LPAN) that it is in. fence_egenera requires that ssh keys have been setup so that the fence_egenera does not require a password to authenticate. Refer to ssh(8) for more information on setting up ssh keys. fence_egenera accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_egenera can also be run by itself with command line options. Vendor URL: http://www.egenera.com OPTIONS
-c cserver The cserver to ssh to. cserver can be in the form user@hostname to specify a different user to login as. -u user Login name. Default login name is 'root' -h Print out a help message describing available options, then exit. -l lpan the lpan to operate on -o action The action required. reboot (default), off, on or status. -p pserver the pserver to operate on -f seconds Wait X seconds before fencing is started -q quite mode. suppress output. -V Print out a version message, then exit. STDIN PARAMETERS
action = < param > The action required. reboot (default), off, on or status. user = < param > Login name. Default login name is 'root' agent = < param > This option is used by fence_node(8) and is ignored by fence_apc. cserver = < param > The cserver to ssh to. cserver can be in the form user@hostname to specify a different user to login as. lpan = < param > The lpan to operate on pserver = < param > The pserver to operate on esh = < param > The path to the esh command on the cserver (default is /opt/panmgr/bin/esh) delay = < param > Wait X seconds before fencing is started SEE ALSO
fence(8), fence_node(8), ssh(8) fence_egenera(8)
All times are GMT -4. The time now is 06:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy