Telnet revoked


 
Thread Tools Search this Thread
Operating Systems Solaris Telnet revoked
# 8  
Old 08-01-2008
Read the SSH documentation. It is easy to generate a private and public key pair (see man ssh-keygen), then you just need to copy the public key to user2's .ssh/authorized_keys file) and you can connect as that user with no password. Note that the ~user2/.ssh directory permissions must be drwx------ (700).
# 9  
Old 08-05-2008
I have setup ssh for passwordless login.But still it prompts me for a password.

I have generated the key pairs(without the pass phrase) , added to the authorisedkeys list.

/export/home/user1>ssh user1@localhost
user1@localhost's password:

Am I missing something at all?
# 10  
Old 08-05-2008
Well, it looks like it's not using the key. See if you can glean any error message when running ssh with the verbose flag. Also check the ssh daemon's log file, and if all else fails, if you can run that too with verbose messages, you might be able to find the problem with that. But usually it's something simple, like too lax permissions on the key files.
# 11  
Old 08-05-2008
Also, the authorized_keys file uses the American spelling, and don't forget the underscore.
# 12  
Old 08-14-2008
Now I have set-up the Auth keys.But what I am scared is after the user do ssh and logged on , will be able to execute commands owned by the master user?

If so is it possible to avoid that?
# 13  
Old 08-14-2008
Setting up a key pair to allow a normal user access does not grant them any super-user privileges. It just allows them to log in without typing a password.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Telnet

Hi, Need some help on exiting the telnet session from the script. #!/bin/ksh telnet <ip> it would print some text and it would ask for a username and pwd. I jus need to capture the text and i need to come out of the telnet session. is it possible without expect ? (6 Replies)
Discussion started by: giri_luck
6 Replies

2. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

3. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

4. UNIX for Dummies Questions & Answers

Display revoked users?

Hello, Is there a way on unix to see if a userid is suspended or revoked? I have an I.D but when I try to use it it keeps saying Sorry! (3 Replies)
Discussion started by: Grueben
3 Replies

5. Solaris

TELNET

Hi Friend, In my solaris 7 machine, I m able to ping the server. But i m not able to access from telnet, ssh. wht may be the reason ? I already checked /etc/default/login /etc/sshd/ssh_config for ssh. thnx in advance. :rolleyes: (6 Replies)
Discussion started by: rajaramrnb
6 Replies

6. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

7. AIX

Telnet and su -

I have some AIX 4.3 machines which have disabled root telnet access. When you run su - once logged on the machine requests a password and if one is supplied correctly it asks for another users password. How do I configure this? Any help is appreciated. Thank you (0 Replies)
Discussion started by: uXion
0 Replies

8. UNIX for Advanced & Expert Users

Telnet

Hi, When we use telnet (from unix workstation or windows) to remotely access the Unix server, the environment variables such as: DISPLAY, TERM, LOGNAME are communicate to the telnet server during the telnet session negotiation. By default these variables are passed to the server. We can... (1 Reply)
Discussion started by: vtran4270
1 Replies

9. UNIX for Advanced & Expert Users

telnet

Hi All, I have written a script called findwho.sh findwho.sh in Development Server ======== who -M>x I want to copy the file findwho.sh into Production Server and run this script on it then output file x copy back to the Development Server 1) Every time ftp findwho.sh to... (4 Replies)
Discussion started by: krishna
4 Replies
Login or Register to Ask a Question