Sponsored Content
Operating Systems AIX Passwordless SSH problem with AIX machines Post 302748995 by filosophizer on Thursday 27th of December 2012 09:23:16 AM
Old 12-27-2012
what I did was Ftp the id_rsa.pub_copy to server and renamed it to authorized_keys

Code:
$ hostname
standby
$
$ ls -ltra
total 48
drwxr-xr-x   3 oraprod  dba             256 Dec 27 10:00 ..
-rw-r--r--   1 oraprod  dba             798 Dec 27 12:47 known_hosts
-rw-r--r--   1 oraprod  dba             397 Dec 27 12:51 id_rsa.pub
-rw-------   1 oraprod  dba            1675 Dec 27 12:51 id_rsa
-rw-------   1 oraprod  dba             395 Dec 27 15:00 authorized_keys2
-rw-r--r--   1 oraprod  dba             397 Dec 27 17:08 authorized_keys_S_105
-rw-r--r--   1 oraprod  dba             395 Dec 27 17:10 authorized_keys
drwx------   2 oraprod  dba             256 Dec 27 17:12 .

$ ls -ltra
total 72
drwx------   2 oraprod  dba             256 Dec 27 17:12 .ssh

$ ssh standby date
Connection closed by 10.1.1.105
$


$ hostname
test1
$
$
$ ls -ltra
total 48
drwxr-xr-x   4 oraprod  dba             256 Dec 27 13:37 ..
-rw-r--r--   1 oraprod  dba             400 Dec 27 15:48 known_hosts
-rw-r--r--   1 oraprod  dba             395 Dec 27 15:49 id_rsa.pub
-rw-------   1 oraprod  dba            1675 Dec 27 15:49 id_rsa
-rw-------   1 oraprod  dba             397 Dec 27 18:00 authorized_keys2
-rw-r--r--   1 oraprod  dba             395 Dec 27 20:07 authorized_keys_S
-rw-r--r--   1 oraprod  dba             397 Dec 27 20:10 authorized_keys
drwx------   2 oraprod  dba             256 Dec 27 20:12 .


$ ls -ltra
drwx------   2 oraprod  dba             256 Dec 27 20:12 .ssh

$ ssh standby date
Connection closed by 10.1.1.105

same problem even after changing the permissions and copying the file
it is not even asking for the password.
 

10 More Discussions You Might Find Interesting

1. Red Hat

X11 forwarding problem between 2 RHEL4 machines with SSH

X11 forwarding problem between 2 RHEL4 machines with SSH Already configured the following on both machines under /etc/ssh Under sshd_config: UsePAM no AllowTcpForwarding yes Under ssh_config: ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes ----------------------------- Using... (1 Reply)
Discussion started by: panggou
1 Replies

2. AIX

Printing problem in AIX machines running SAP

Hi all, We have a intermittent problem with printing from SAP running on AIX5.2 . Version of Sap is 4.6b. When a print is fired from SAP, the spool is created fine and then transferred to the host spool system (in this case the AIX Print queue). The problem seems to be happening when AIX... (3 Replies)
Discussion started by: pauldavi26
3 Replies

3. AIX

Passwordless authentication via SSH

I am trying to implement passwordless authentication via ssh2. I have used the well documented technique of generating a key pair with a blank passphrase on my client machine, and installing the public key on the destination server (AIX 5.3) in the user's .ssh2 directory. I have used this technique... (1 Reply)
Discussion started by: RegX
1 Replies

4. HP-UX

Help on passwordless ssh...

Hi, Can someone help me on ssh-keygen usage...? I used ssh-keygen after which "id.pub" file was generated in system1's > .ssh directory... I copied the same into the remote system system2 > .ssh directory as "authorized_keys" file. Now i tried ssh connection from system 1 to system... (7 Replies)
Discussion started by: EmbedUX
7 Replies

5. Shell Programming and Scripting

ssh passwordless

Hi, I want to login to a remote server and sftp files without password prompting. So, I created private-public key pair as follows: user1@server1.com .ssh]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/user1/.ssh/id_rsa): Enter... (7 Replies)
Discussion started by: dips_ag
7 Replies

6. UNIX for Dummies Questions & Answers

passwordless ssh

hi, i have tried with passwordless shh in google.. i followed the below steps ... user:~> ssh-keygen -t rsa Enter file in which to save the key (/home/cantin/.ssh/id_rsa):key.txt Enter passphrase (empty for no passphrase): Enter same passphrase again: till this step i... (0 Replies)
Discussion started by: arunmanas
0 Replies

7. Red Hat

Passwordless SSH from Linux to AIX

Hi, I am trying to setup passwordless SSH from Redhat Linux EL 5 to AIX 6 and it worked for few boxes and didn't for few other. Not sure as to why it's happening. Pl find below the log when i run ssh in verbose mode. TIA Reddy # ssh -v aixora04 OpenSSH_4.3p2, OpenSSL... (3 Replies)
Discussion started by: reddyr
3 Replies

8. Shell Programming and Scripting

passwordless ssh

My main concern is, i have to login into 300 linux server and all are having same userid and password. I dont want to create any key for each server to login . Is there a way to run the shell script ? (3 Replies)
Discussion started by: Mani2512
3 Replies

9. UNIX for Advanced & Expert Users

passwordless ssh connection problem

I need to ssh from Host A to Hosts B and C. A->B works, but A->C does not. I can do rcp/rcmd A->B and A->C. B and C are identical systems. All three are SCO OSR 5. More relevant info: Host A$ ssh -V OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004 Hosts B and C are:... (5 Replies)
Discussion started by: migurus
5 Replies

10. UNIX for Advanced & Expert Users

Passwordless ssh

Hi I have created a user on a linux server and created a passwordless ssh key. I've echoed the key into the authorized_keys file for the user. I've added a series of forced commands to the key. From my laptop - logged in as myself - I can ssh into the server as that user and the commands... (3 Replies)
Discussion started by: steadyonabix
3 Replies
skycoor(1)						      General Commands Manual							skycoor(1)

Name
       skycoor - Convert coordinates

Synopsis
       skycoor [-bdgjv] [-n ndec] ra1 dec1 sys1 ... ran decn sysn
       or
       skycoor [-vbjg] [-n ndec] @listfile

Description
       skycoor	converts  coordinates  between the J2000, B1950, and galactic coordinate systems, rounding to a specified number of decimal places
       and printing in degrees or hh:mm:ss.sss dd:mm:ss.sss.  Input coordinates may also be in either format, and the system (J2000, B1950, or ga-
       lactic) may be in upper or lower case.  No spaces are allowed within  the individual coordinates

Options
       -b     B1950 (FK4) output

       -d     RA and Dec output in degrees

       -e     Ecliptic longitude and latitude output

       -g     Galactic longitude and latitude output

       -i r|d|
	      Input units (r=radians, d=degrees, else hh:mm:sss dd:mm:sss)

       -j     J2000 (FK5) output

       -n <num>
	      Number of decimal places in output RA seconds

       -o <num>
	      Offset coordinates by this many arcseconds

       -p     RA and Dec proper motion in milliarcseconds/year

       -q     Output system, including equinox

       -r <RA> <Dec> <RA> <Dec>
	      Angular separation between two RA, Dec pairs

       -s     Output ra= dec= epoch= radecsys= for sethead

       -v     Print more intermediate information

       -w     Convert RA, Dec equatorial coordinates to x,y,z

       -x     Convert x,y,z equatorial coordinates to RA, Dec

       -y <epoch>
	      Epoch of coordinates in years

Author
       Doug Mink, SAO (dmink@cfa.harvard.edu)

9 November 2001 						     WCSTools								skycoor(1)
All times are GMT -4. The time now is 10:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy