Sponsored Content
Operating Systems Solaris i wanto hardcode password for a username to ssh to a server using script Post 302171271 by manikantants on Thursday 28th of February 2008 03:51:03 AM
Old 02-28-2008
this may help you
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

username password in script

Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script?? something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies

2. Shell Programming and Scripting

mysqldump script without hardcode password

OS: Linux ambglx02 2.6.16.60-0.21-default #1 Tue May 6 12:41:02 UTC 2008 i686 i686 i386 GNU/Linux Shell: bash Currently I have a mysqldump script to backup my mysql database, the command is as below: /opt/novell/mysql/bin/mysqldump --add-drop-table -u root -p -h mydb > /home/john/mydb.sql ... (5 Replies)
Discussion started by: bulkbiz
5 Replies

3. UNIX and Linux Applications

Regarding NFS server username/password authentication

Hi; I had set up NFS server in one ubuntu box and mounted few directories using it. In order to access those directories across the network i m using j-ftp(an open source java network client) from other boxes in the same network.I am able to view my mounted directories in the server through it.... (1 Reply)
Discussion started by: ajaypadvi
1 Replies

4. Shell Programming and Scripting

Asking username and password in the middle of the Shell/perl script

Can any body help me to find out the logic I have a script chkcomponent.pl Which give some output Like component1 userid: u1 component2 userid: u2 component3 userid: u1 . . #The no of components are different in different times run Now I want this chkcomponent.pl script... (1 Reply)
Discussion started by: pareshpatra
1 Replies

5. Shell Programming and Scripting

Logon to multiple hosts using ssh hardcode password

Hi im trying to write a script to logon to list of servers with same userID. I have no option/plan to implement ssh-keygen sharing between the systems, so i have written script creating 2 files, file1 holds list of hosts host1 host2 host3 file2 has following script for i in `cat file1`... (1 Reply)
Discussion started by: dreamaix
1 Replies

6. UNIX for Dummies Questions & Answers

Script to log in SFTP server [with username, password]

Hi, everyone, I am trying to write a script to login automatically using username and password to an sftp server (the key authentication has been disabled so I cannot use that method). I tried to search online for a solution and found a way using "expect" but my boss does not want me to use... (4 Replies)
Discussion started by: warmboy610
4 Replies

7. Shell Programming and Scripting

How to send Two different password in Single script, having same username..?

Hi Team, i want to input two password for single node like pass1/pass2 one of the pass1 is working some node and pass2 is working for some nodes . For nodes having pass1 i have to run different script and for nodes having pass2 i have to run different script Sooo how can put two pass... (3 Replies)
Discussion started by: Ganesh Mankar
3 Replies

8. AIX

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 :(:(:( (8 Replies)
Discussion started by: bobochacha29
8 Replies

9. Shell Programming and Scripting

How can i su automaticaly in same server with different username and same password?

Hi I am new to shell scripting, Can you please help me in writing a script that can switch user in same server with different user name and same password. I want to perform some functional task in a particular user and need to switch user and perform same activity in another user and so on ... ... (4 Replies)
Discussion started by: Dew
4 Replies

10. 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
uucpd(1M)																 uucpd(1M)

NAME
uucpd - UUCP over TCP/IP server daemon SYNOPSIS
DESCRIPTION
is the server for supporting UUCP connections over TCP/IP networks. is invoked by (see inetd(1M)) when a UUCP connection is established (that is, a connection to the port indicated in the "uucp" service specification; see services(4)), and executes the following protocol: 1) The server prompts with "login:". The process at the other end must supply a username. 2) If the username refers to an account without a password, the server then prompts with "Password:". The process at the other end must supply the password for that account. The connection is dropped if one or more of the following conditions occurs: o The username is not valid. o The username is valid but refers to an account that does not have as its login shell. o The password authentication fails due to an incorrect password to that account. o The password authentication fails due to the settings in Refer to the security(4) manpage for detailed information on config- urable parameters that affect the password authentication. If the connection is successful, is run (see uucico(1M)). Entries are made in traceable with the and commands (see who(1) and last(1)). Protocol Restriction Only the "g" protocol for is supported. DIAGNOSTICS
All diagnostic messages are returned on the connection, after which the connection is closed. An error occurred while reading the username. An error occurred while reading the password. The username or the password is invalid or the user's login shell for this account is not WARNINGS
On Trusted Systems, prohibits to start if any of the following conditions are true : o The login account is locked (several causes). o The current time does not match existing time-of-day restrictions for this account. Under such conditions, will return the message to the connection. The connection is then dropped. HP-UX 11i Version 3 is the last release to support trusted systems functionality. AUTHOR
was developed by the University of California, Berkeley and HP. FILES
configuration file for inetd optional security file for inetd service name data base login data base security defaults configuration file SEE ALSO
inetd(1M), uucico(1M), pam(3), updatebwdb(3C), security(4), services(4). uucpd(1M)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy