Automate with Putty-SSH for 2 users


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Automate with Putty-SSH for 2 users
# 1  
Old 03-31-2009
Automate with Putty-SSH for 2 users

Hi,

I have automated logins to Unix boxes with Ssh - Putty combination.
Have created a Pub - Pvt key combination for the same.
Added the entry of username in "User name" box of Putty.

This works perfectly for the specified user.

I want this to happen now for another user as well, without changing the user name in above box everytime.
How can this be done?

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Query regarding PuTTY SSH Tunneling

I have a process running on my local server. http://dev.techx.com:6060/proct I wish to block port 6060 and expose port 7777 to the outside world. I block port 6060 and open port 7777 on the firewall. What should be the PuTTY Settings -> Connection -> SSH -> Tunnels 1. Destination ... (3 Replies)
Discussion started by: mohtashims
3 Replies

2. UNIX for Advanced & Expert Users

Making SSH coonection through putty

Hi Folks , I am using putty to connect to a unix box machine the issue is that every time i need to enter the credentials of the servers (unix box) , please advise is there any way i can configure putty so that only i need to eneter the user id of the server and password is automatically pass... (1 Reply)
Discussion started by: n4noida
1 Replies

3. Shell Programming and Scripting

Unable to automate SSH in Script

Hi I have a script at Server B. I want to run it from server A via another script. I tried the following command. ssh mss@247.123.456.123 "sh pm10.sh" It's getting login automatically, but while running the script through error like "reppar: command not found" where reppar is an application... (4 Replies)
Discussion started by: rajeshmepco
4 Replies

4. Solaris

Putty SSH connection not working

I am trying to connect to a solaris server using putty from a indows client. SSH connection is not working. The terminal indow just gives an error message "Network error:Connection refused". I verified SSHD and its running correctly! #svcs -p ssh STATE STIME FMRI online 17:54:44... (3 Replies)
Discussion started by: herbich1985
3 Replies

5. Solaris

how to get to openboot through ssh putty?

hi, iīm trying to get openboot through ssh putty, could you tell me the way because i donīt have a sun keyboard.. thanks... (3 Replies)
Discussion started by: pabloli150
3 Replies

6. AIX

Automate ssh between different flavours of ssh

Hiya, I want to automate ssh between two servers (Server A and Server B) and currently facing two problems. I am able to automate ssh between same SSH versions but unable to do so for following conditions. 1. SSH versions are different on Server A and Server B. 2. Username is different on... (1 Reply)
Discussion started by: kamitsin
1 Replies

7. Shell Programming and Scripting

Expect Script to Automate SSH

How would I write an expect script to automate ssh and what file extention do expect files use? (11 Replies)
Discussion started by: Prodiga1
11 Replies

8. Red Hat

Free SSH Client other than PUTTY

Is there any Better FREE SSH client similar to Secure CRT ? We are working on cluster db servers. PROD/DEV/UAT/QA/TEST server hostnames are just one letter differences. it always confuse me to which one I am logging in. So I am looking for a free SSH client, for windows where I can store... (4 Replies)
Discussion started by: johnveslin
4 Replies

9. Linux

Display to PC via ssh/putty (RHE 5)

Hi all, I just installed Red Hat Enterprise and I would like to have the KDE/GNOME windows display to my PC. When I am root (via ssh, putty) I type startx but it fails. I'm not sure what has to be configured! Any help would be greatly appreciated. Thanks! (1 Reply)
Discussion started by: kjbaumann
1 Replies

10. Solaris

SSH with Putty

I've been trying to setup my SunBlade as an SSH server. I configured the sshd_config file, but I cannot get the keys to exchange properly. I generate a key pair in Putty on my laptop (the host, running Win2K), exported the Private key as OpenSSH and then copied the public key to the a file I... (3 Replies)
Discussion started by: AJA
3 Replies
Login or Register to Ask a Question
listusers(1)						      General Commands Manual						      listusers(1)

NAME
listusers - display user login data SYNOPSIS
groups] logins] DESCRIPTION
The command displays data concerning user logins. The output shows the user login and the comment field value (for example, user name, location). The default displays data about all user logins. Options The command supports the following options: Display only users who have groups, as their primary group. Use with the option. Display only users who have groups, as their supplementary group. Use with the option. Display all users belonging to groups, sorted by login. A comma separated list specifies multiple groups. Display the requested logins. A comma separated list specifies multiple logins. Display only users belonging to the specified repository, either for NIS or users. A user login has a UID of 100 or greater. When the and options are combined, a user login is only displayed once, even though the login may belong to multiple specified groups. EXAMPLES
List all user logins. List all user logins in the group and the users removing all duplicates. List all users who have as their primary group. List all users who have as their supplementary group. List only local user logins. List only NIS user logins. FILES
SEE ALSO
passwd(1), logins(1M), group(4), passwd(4). STANDARDS CONFORMANCE
listusers(1)