Sponsored Content
Full Discussion: Ssh password
Top Forums UNIX for Beginners Questions & Answers Ssh password Post 303024368 by MuntyScrunt on Sunday 7th of October 2018 06:15:27 AM
Old 10-07-2018
Yeah, I gave up on what I really wanted and went with keys, this is far from ideal, if you knew the entire situation you'd understand. Anyway...

Keys for now have helped, except, they are user dependent? User A creates keys and can use them. User B logs in but can't use them. B generates keys, then A can't log on. This is of no use to me at all, I'm not sitting copying keys for 30 servers every time a different user wants access.

So the new question is: Is this normal? Only 1 live set of keys at any one time? How can I prevent this?

Thanks.
 

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. UNIX for Advanced & Expert Users

SSH - Prompting for password

Hi, Can anybody tell me a way to do ssh , without prompting for password from keyboard, Using RSA. The requirement is I need to create the key , using passphrase also..... Is there any way to do it in UNIX ? I am doing it from AIX machine , but remote machine is Linux I tried... (8 Replies)
Discussion started by: shihabvk
8 Replies

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
BTKEY(1)						    BSD General Commands Manual 						  BTKEY(1)

NAME
btkey -- Bluetooth Link Key management utility SYNOPSIS
btkey [-CcRrWw] [-k key] -a address -d device btkey -Ll [-d device] DESCRIPTION
The btkey program is used to manage Bluetooth Link Key storage. Keys are normally handled by the bthcid(8) daemon which caches them in the /var/db/bthcid.keys file and provides them as required when Bluetooth connections need to be authenticated. These keys are required for connections between remote devices and the specific controller (not the Operating System) and so for multi-boot systems where it may not always be possible to specify the same key across all OS's it can be better to have the Bluetooth controller provide the keys directly from its semi-permanent memory once devices are paired. btkey will read, write or clear keys in device memory or the key cache as required. Note that without the bthcid(8) daemon running users will be unable to supply PINs, and Link Keys resulting from new pairings will not be stored. If no new pairings are expected and the keys are stored in the controller then bthcid(8) is not required. The options are as follows: -a address Specify the remote device address. May be given as a BDADDR or a name. -C Clear key from device. -c Clear key from file. -d device Specify the local device address. May be given as a BDADDR or a name. -k key Supply a Link Key as a string of hexadecimal digits. Up to 32 digits will be processed and the resulting key will be zero padded to 16 octets. -L List keys stored in device. -l List keys stored in file. -R Read key from device. -r Read key from file. -W Write key to device. -w Write key to file. Super-user privileges are required to read or write link keys. EXIT STATUS
The btkey utility exits 0 on success, and >0 if an error occurs. FILES
/var/db/bthcid.keys EXAMPLES
Read key for mouse at ubt0 from file and write to device btkey -d ubt0 -a mouse -rW Write new key for keyboard at ubt0 to file btkey -d ubt0 -a keyboard -k 92beda6cd8b8f66ebd2af270d55d70ec -w Clear key for phone at bt3c0 from file and device btkey -d bt3c0 -a phone -cC SEE ALSO
btpin(1), btconfig(8), bthcid(8) AUTHORS
Iain Hibbert BSD
November 8, 2007 BSD
All times are GMT -4. The time now is 08:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy