05-28-2013
Passwordless connections
A user must be able to login using the 192 ip address of the 2nd network card without password using ssh
10 More Discussions You Might Find Interesting
1. AIX
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
2. Shell Programming and Scripting
Hi, When Iam trying to do SFTP it is asking for password everytime. Can I have any alternative where I can provide the password in script itself. Because there are some control-M jobs which runs without user interaction. So please let me know the script where we can provide the password in the... (2 Replies)
Discussion started by: manneni prakash
2 Replies
3. HP-UX
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
4. Solaris
Hi Gurus,
Wanted to know if there is a way to enable passwordless login between specific users in a Solaris (5.9)server.
I copied the public key of first user into the $HOME/.ssh/authorized_keys file of the second user. But it didn't work out.
Note - Am talking about users in the same... (9 Replies)
Discussion started by: Hari_Ganesh
9 Replies
5. Shell Programming and Scripting
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
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. Shell Programming and Scripting
Hi!
I am working on mac osx and have a script which prompts for password for a non-root user, can I avoid that?
su -m <user>
Prompts for a password.
Its a startup script and the start up fails?
How can I fix this?
Thanks,
Jack. (4 Replies)
Discussion started by: jacki
4 Replies
8. Shell Programming and Scripting
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
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
10. Shell Programming and Scripting
Hi,
I am using the below command in
suexec -u webuser /local/Tomcat7//0/tc7u/tomcat7.sh status
But it prompts for the password of executing user.
Let me know if any options available for passwordless or supplying password in script. (0 Replies)
Discussion started by: pravinbtech
0 Replies
LEARN ABOUT FREEBSD
uhsoctl
UHSOCTL(1) BSD General Commands Manual UHSOCTL(1)
NAME
uhsoctl -- connection utility for Option based devices
SYNOPSIS
uhsoctl [-a apn] [-c cid] [-p pin] [-u username] [-k password] [-r path] [-f path] [-b | -n] interface
uhsoctl -d interface
uhsoctl -h
DESCRIPTION
uhsoctl is a small connection utility for Option N.V. devices that are based on Options packet interface and uses proprietary AT_* calls to
establish connections. The utility (tries to) configure both default route and name servers (/etc/resolv.conf).
By default uhsoctl detaches from the terminal upon on a successful connection, a few command-line options exists that allows this behavior to
be changed.
uhsoctl attempts to find a usable controlling serial port based on the provided network interface. If this fails you might specify a serial
port manually.
OPTIONS
-a apn
Specify APN to connect to.
-c cid
Specify CID (Context ID) to use, by default CID 1 is used. If an APN has been configured once, it's enough to specify the CID used for
further accesses.
-p pin
Specify SIM PIN.
-u username
Specify username.
-k password
Specify username.
-r path
Path to resolv.conf, default /etc/resolv.conf. Use /dev/null to disable updating of name servers.
-f path
Explicitly set the serial port to use as controlling terminal. Might be needed if the automatic detection fails.
-b Fork into background directly, before a connection has been established.
-n Never fork into background, run entirely in foreground.
EXAMPLES
Connect to ``apn.example.com'' on interface ``uhso0'' and use PIN ``1234'' to enable the SIM card.
uhsoctl -a apn.example.com -p 1234 uhso0
Disconnect from a previously established connection.
uhsoctl -d uhso0
SEE ALSO
uhso(4)
BSD
Aug 12, 2009 BSD