01-16-2019
You will find your life much easier of you
stop using ssh with passwords as you are doing and move to password-less ssh using public-private key pairs.
There are 100s of tutorials on how to set this up in the net, here is one of those 100s of examples:
How to setup passwordless SSH login in Linux – The Geek Diary
This User Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Everybody,
Could anyone please tell me how to get ssh to work without asking for passwords? (i want to do a ssh <hostname> without getting a request for a password but getting connected straight away)
I have attempted the following but to no avail :( ...
I tried to generate a SSH... (5 Replies)
Discussion started by: rkap
5 Replies
2. Shell Programming and Scripting
how to run a command in different machie
in my case script will runs in solaries machine..
in one instance it has to run a command in different machine with different operating system ( linux ) using SSH command
i tried
ssh -l (login_name) (machine name/host ) " command "
but it is... (3 Replies)
Discussion started by: mail2sant
3 Replies
3. Shell Programming and Scripting
I need to run a set of commands on a remote machine using ssh. it should also collect output and return status of each command. Can someone help me how to do this? (1 Reply)
Discussion started by: vickylife
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
user>
while I'd like it to be as
user@host>
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
2 Replies
5. Solaris
when i run a command on ALOM via ssh i get following error
ssh root@10.23.12.51 showhosts
Password:
Waiting for daemons to initialize...
Daemons ready
shell: Invalid credentials
how can i run commands without actually loging to the sc (3 Replies)
Discussion started by: fugitive
3 Replies
6. AIX
Hi,
We have a requirement to do passwordless entry from one user to a different user on the same AIX server using ssh keys.
Can some one help me with this?
Thanks in advance,
Panditt (3 Replies)
Discussion started by: deshaipet
3 Replies
7. Shell Programming and Scripting
Hello
when try to excute the following
ssh -l pla 10.287.60.55 vis_fil
vis_fil not found.
but it works fine when login to the server.
can you help me run this command in one online because i will add later to shell script
regards (1 Reply)
Discussion started by: mogabr
1 Replies
8. Shell Programming and Scripting
Hey guys,
I have some task from my office to lock user on the specified directory after the user logged on using ssh. And then run prompt program to fill the required information. Yeah, just like an ATM system.
My question:
How could I do those?? AFAIK I have to edit the ~./bashrc. But the... (1 Reply)
Discussion started by: franzramadhan
1 Replies
9. Shell Programming and Scripting
I'm testing a C++ based application (HLR) in my solaris system.
Whenever i start the application remotely from some other solaris server using ssh command the application throws an error and goes down.
command i used:
ssh root@192.168.151.77 "./start_hlr.sh"
Below is the error observed :
... (1 Reply)
Discussion started by: Arun_Linux
1 Replies
10. Shell Programming and Scripting
Hello,
I am trying to create a ksh script to login to server and collect gather output of some command to troubleshoot some issue.
DATE=`date +%b.%d.%Y.%M.%H`
echo " Enter emp id to login to server"
read Eid
Eid=$Eid
echo " Enter hostname of the system"
read HOST
HOST=$HOST... (2 Replies)
Discussion started by: saurabh84g
2 Replies
LEARN ABOUT OPENSOLARIS
libgnome-keyring
libgnome-keyring(3) C Library Functions libgnome-keyring(3)
NAME
libgnome-keyring - gnome keyring library.
DESCRIPTION
GNOME Keyring is a system to store passwords and other sensitive data in a standardized way across all GNOME applications.
A keyring stores a collection of encrypted passwords and encrypted information about those passwords. A user can have multiple keyrings,
each for a different use, but there is a default one, called 'login'. There is also a special 'session' keyring which is not stored on disk
and goes away when you log out.
When a user logs into GNOME, the keyrings are locked and a master keyring password has to be provided in order to unlock each of them.
GNOME Keyring includes an SSH agent which integrates with the gnome-keyring and user login for its passwords. It can also use the main
X.509 private key store.
GNOME Keyring will set the SSH_AUTH_SOCK environment variable when it starts up.
The id_rsa and id_dsa files in ~/.ssh are automatically usable through the SSH agent without first 'loading' them. Other X.509 private keys
marked with the 'ssh-authentication' purpose are also usable.
Additional SSH keys can be manually loaded and managed via the ssh-add command.
If you use another SSH agent(such as the ssh-agent included with OpenSSH), you may want to disable the SSH agent in GNOME Keyring to pre-
vent ssh from using it instead of your prefered SSH agent. You can set /apps/gnome-keyring/daemon-components/ssh gconf key to false. This
prevents the SSH component of gnome-keyring from starting up when the user logs in.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-libs |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-keyring-daemon(1), attributes(5), gnome-interfaces(5)
http://library.gnome.org/devel/gnome-keyring/stable/
NOTES
Written by Jeff Cai, Sun Microsystems Inc., 2008.
SunOS 5.11 31 Jul 2008 libgnome-keyring(3)