10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I want to copy /.ssh/OM.pub file from source to destination.
Here source IP address, username and password is always fixed.
Whereas destination server IP address, password always gets changed.
From destination server :-
I am trying to write a script in which it should log in to... (3 Replies)
Discussion started by: madhur.baharani
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have this problem:
I have a server to which I ssh, and it has a special prompt request. The prompt is done by a ?prompt command.
It is fine with SSH, since the prompt I guess gets some input, but when I use SCP, the copy always fails.
So, I was wondering if there is maybe a... (1 Reply)
Discussion started by: lastZenMaster
1 Replies
3. Shell Programming and Scripting
Hi all,
Scenario - trying to run a batch job on a second machine.
DIR=directory
user=user
server=server
Here is what i have- ssh user@server 'sleep2; cd $DIR; <jobname>'
I have got access to the correct directory, i checked with a pwd command previous.
Problem is the job i... (1 Reply)
Discussion started by: Hopper_no1
1 Replies
4. Shell Programming and Scripting
Gurus,
I have written a shell script to backup a database and applications. This is how the script works:
1. As applications user (say applmgr), the main backup script, say backup.sh, is kicked off.
2. backup.sh does ssh to oracle user and kicks off the database backup using nohup and... (1 Reply)
Discussion started by: sunpraveen
1 Replies
5. Shell Programming and Scripting
Hi all
Iam using ssh and trying to change to a different user but im not able to do it.
--------
Script.sh
ssh user@hostname
sudo rootsh
whoami
--------
--------
Script2.sh
ssh user@hostname
su - username password
whoami
---------
When i run the Script.sh it is connecting to... (4 Replies)
Discussion started by: coolkid
4 Replies
6. Solaris
Morning all, I was running some deployment scripts on Friday night that kept failing because it prompted for a password for a user I was already sudo'd in as when trying to scp a file onto itself.
e.g.
on server 51.123.123.123 as sudo dlam
typing: scp testfile dlam@51.123.123.123:/tmp ... (5 Replies)
Discussion started by: dlam
5 Replies
7. Solaris
Thanks to this forum, I was able to get a program running that uses SSH to control programs running on other hosts. Now I'd like to enhance it.
The control program on the target hosts occassionally needs to be updated. Updating the menu program on the source host is easy as it is on one host. ... (1 Reply)
Discussion started by: PabloCruise77
1 Replies
8. BSD
I can't get ssh ans scp to work between to host on my network. I am prompted for the password and it isn't accepting the password and I know the password is correct because I am using the root password. What do I need to do to get ssh working between the two host and scp. I can putty into the... (2 Replies)
Discussion started by: rbizzell
2 Replies
9. Shell Programming and Scripting
The following ksh script is trying to get a file's cksum then, scp it over to a remote machine - get the cksum there and then compare the two cksums to make sure they match. I am having problems setting a variable on the remote host where it can be read locally. Is this even possible - reading a... (1 Reply)
Discussion started by: berrean
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am getting core file in local machine after trasfer files to other machine by using scp (secure copy) of SSH in UNIX.
Could any one please tell me how to restrict core file generatation by using scp command. (4 Replies)
Discussion started by: nrsekhar
4 Replies
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)