Sponsored Content
Full Discussion: telnet question
Top Forums UNIX for Dummies Questions & Answers telnet question Post 4048 by Andy Hibbins on Tuesday 17th of July 2001 04:41:15 PM
Old 07-17-2001
Hi,

Have you tried the putty/plink freeware ssh/telnet package, it's available at:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

You can send command line options to the putty program via the plink console program.

i.e.

plink myname@unixhost "acommand"

or

plink -ssh myname@unixhost "accomand" to enable ssh.

The only downside is that the user will still have to enter a password.

Hope this helps.

Andy Hibbins Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Telnet timout question

ok here is a little bit on what I am trying to do. I am logged into a saolaris 9 server and telnet to another server to run an application that sits on the second unix / linux server. This application can sit idle for an hour to two and any given time. During this time the telnet session timesout... (4 Replies)
Discussion started by: Acleoma
4 Replies

2. Solaris

TELNET Question

Hello All, I have a question. I have two V480 systems that can telnet to other systems on our network, but lo cannot receive a telnet from other systems. I've check the usual .rhosts, env and several other files such as the telnetrc files with no luck. I've tried all avenues before issuing... (8 Replies)
Discussion started by: mr-synapse
8 Replies

3. HP-UX

question about telnet to HP unix 11

When using telnet connect to HP unix 10, it will get a pty/ttyxx terminal, but using telnet connect to HP unix 11, it will get a pts/tx terminal. I want to ask is, can I using telnet connect to HP unix 11 and get a pty/ttyxx terminal ?? :confused: thx a lot (3 Replies)
Discussion started by: zetadhell
3 Replies

4. UNIX for Dummies Questions & Answers

Telnet question

How do I get back to Unix prompt while telneting to a router w/out exit from the telnet session? Thanks (2 Replies)
Discussion started by: oppiz
2 Replies

5. 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

6. Solaris

Question about telnet?

Hi everyone. I am newb at solaris i have 2 question 1. i am finding a way to prevent separate users to telnet similar like /etc/ftpd/ftpusers in Solaris system I know a way to disable user ftp by force user shell=/bin/false 2. or any program can do a chroot telnet user like proftpd :D ... (5 Replies)
Discussion started by: tien86
5 Replies

7. Shell Programming and Scripting

Telnet Expect script question

Hi all, I have written a small expect script which should spawn a telnet session login and execute some commands. #!/usr/bin/expect -f spawn telnet $env(IP) match_max 100000 expect "login:" send -- "******\n" expect -exact "Password:" send -- "****\n" expect "%" Now I have got... (2 Replies)
Discussion started by: stinkefisch
2 Replies

8. IP Networking

telnet window size question

Hello! I'm writing a small telnet client using Erlang and the gen_tcp library. I receive IAC WILL ECHO and IAC WILL SUPPRESS_GO_AHEAD which I respond to. Then I receive various text output from the server, and then this: resize: unknown character, exiting. I'm curious as to why I do... (1 Reply)
Discussion started by: Gustav
1 Replies

9. 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

10. 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
SSH-COPY-ID(1)						      General Commands Manual						    SSH-COPY-ID(1)

NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine (presumably using a login password, so password authentication should be enabled, unless you've done some clever use of multiple identities) It also changes the permissions of the remote user's home, ~/.ssh, and ~/.ssh/authorized_keys to remove group writability (which would oth- erwise prevent you from logging in, if the remote sshd has StrictModes set in its configuration). If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your ssh-agent. Otherwise, if this: ssh-add -L provides any output, it uses that in preference to the identity file. If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin- gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory, if necessary) SEE ALSO
ssh(1), ssh-agent(1), sshd(8) OpenSSH 14 November 1999 SSH-COPY-ID(1)
All times are GMT -4. The time now is 09:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy