How to ssh from an AIX OS server to a Fabric OS server without password?


 
Thread Tools Search this Thread
Operating Systems AIX How to ssh from an AIX OS server to a Fabric OS server without password?
# 1  
Old 03-12-2015
How to ssh from an AIX OS server to a Fabric OS server without password?

Hi
I'd like to ssh from an AIX OS server ( v5.3) to a Fabric OS server ( v6.1.2 ) without password.
I tried using dsa or rsa keys but it didn't work, the aix server still asked for the password.

Somebody help, please SmilieSmilieSmilie
# 2  
Old 03-12-2015
it is not AIX server, which asks for the password, but Fabric OS. Please read the Fabric OS manual how to install SSH keys properly.
This User Gave Thanks to agent.kgb For This Post:
# 3  
Old 03-12-2015
Either keys are not correct, network config not correct or incomplete or perms on ssh files/directory...
This User Gave Thanks to vbe For This Post:
# 4  
Old 03-12-2015
Quote:
Originally Posted by vbe
Either keys are not correct, network config not correct or incomplete or perms on ssh files/directory...
I do the same thing to 2 servers, the aix server is OK, but the Fabric one isn't.

Quote:
Originally Posted by agent.kgb
it is not AIX server, which asks for the password, but Fabric OS. Please read the Fabric OS manual how to install SSH keys properly.
Could you show me more details or give me some web links about install SSH keys. I found something on internet but it seems not working.
# 5  
Old 03-12-2015
These 2 Users Gave Thanks to agent.kgb For This Post:
# 6  
Old 03-26-2015
Thanks guys, I got it.

But I think it's not safe to do like this, because the account must have admin role to import the key. When someone ssh from the other servers, he also logins to an account that has admin role.

I just want to ssh from other server to login to a normal account to execute some checking commands (which do not need admin role).
# 7  
Old 03-26-2015
no, you didn't get it. you need admin role to install ssh keys. your user doesn't need any admin or privileged roles.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Change password for many users on an AIX server

Hi I want to change password for around 100 users on an aix server. I have the list of those 100 users with me. instead of doing # passwd username for all the 100 users one by one, can you please help with a script through which we can change the password for all the 100 users in a... (2 Replies)
Discussion started by: newtoaixos
2 Replies

2. Ubuntu

Run a script at remote server without ssh password

Hello, What I want to do is to run a file on remote server by running a script at localhost but script should not ask ssh password of my remote server when script is executed. Scenario1: To copy files from server2 to data server:$ scp -r root@server2_ip:/var/www/html/*.* /var/ When I enter... (6 Replies)
Discussion started by: baris35
6 Replies

3. Shell Programming and Scripting

How to run commands on remote server using ssh password less authentication?

Hi, I need to run a script located in a directory on remote server by using ssh authentication from my local unix server. Can anyone help me in this. I have tried the below command. It worked for echo command but when i tried to open a file using cat command it is showing "cat: cannot open... (6 Replies)
Discussion started by: ssk250
6 Replies

4. AIX

Unable to ssh or login to AIX server

We are having occasional problems accessing some AIX servers. When this happens we cannot ssh to the server in question or login via HMC console terminal window. We can ssh some commands to the server and get responses but other commands just hang, ssh serverA date returns the date, ssh serverA... (5 Replies)
Discussion started by: Kierong
5 Replies

5. Cybersecurity

Password less SSH login to different server

Hi, It is continuation with my other thread, The issue i found is U1 does not set properly for password less ssh. for setting up password less ssh i followed the following steps 1. ssh-keygen 2. ssh-copy-id -i ~/.ssh/id_rsa.pub hostname 3. /usr/bin/ssh -t -t U1@hostname sample.sh ... (3 Replies)
Discussion started by: sakthi.99it
3 Replies

6. UNIX for Dummies Questions & Answers

ksh scripting, skip server if asks for password with SSH

Hi, I am running a script that connets to a list of servers with SSH and runs a command but I have some servers that are asking for password (authorized keys is not configured properly). Is there any way to do so that if I get a prompt for password just skip that entry? my script: ... (1 Reply)
Discussion started by: galuzan
1 Replies

7. Shell Programming and Scripting

[SSH] Need to connect to remote server as different user and without password

I have a task requiring that USER_A run a script, which connects to HOST_B as USER_B and does not ask for a password. If I am logged in on HOST_A as USER_B, I can connect to HOST_B without a password, no problem. However, if I try running ssh with the command line "ssh USER_B@HOST_B" while... (3 Replies)
Discussion started by: Totengraber
3 Replies

8. UNIX for Advanced & Expert Users

Cannot login via telnet or ssh to AIX 5.2 server

I somehow modified the system so that no one can telnet or ssh into this box as any user including root. I might have blown away important files, I don't know. Please let me know what I have to check to make it so that I can login. This is what I get when I try to telnet or ssh: telnet bk02... (5 Replies)
Discussion started by: pdtak
5 Replies

9. Solaris

i wanto hardcode password for a username to ssh to a server using script

Dear all i want to ssh to a server via running a shell script with a username and i want to hard code the password for that particular username can u help me please Thank u Naree (8 Replies)
Discussion started by: naree
8 Replies

10. Solaris

network config problem - how to set the server for others to ssh without password

Hi, I want to ssh the linux server without inputting the password, how can I config this server? Thanks in advance! (1 Reply)
Discussion started by: GCTEII
1 Replies
Login or Register to Ask a Question