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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT LINUX
ssh-import-lp-id
ssh-import-id(1) ssh-import ssh-import-id(1)
NAME
ssh-import-id - retrieve one or more public keys from a public keyserver (Launchpad.net by default) and append them to the current user's
authorized_keys file (or some other specified file)
SYNOPSIS
ssh-import-id [options] USER_ID_1 [USER_ID_2] ... [USER_ID_n]
OPTIONS
-h | --help usage
-o | --output F write output to file 'F' (default ~/.ssh/authorized_keys, use "-" for standard out)
DESCRIPTION
This utility will securely contact a public keyserver (https://launchpad.net by default) and retrieve one or more user's public keys, and
append these to the current user's ~/.ssh/authorized_keys file.
The system administrator can change the source URL used by ssh-import-id(1) by editing the configuration file, /etc/ssh/ssh_import_id,
which is sourced to obtain the value of URL. By default, URL="https://launchpad.net/~%s/+sshkeys". Note that this url really MUST be a
secure, https url with a valid, signed certificate or else your system will be vulnerable to man-in-the-middle attacks! The "%s" will be
populated by ssh-import-id(1) with the value(s) of USER_ID_1 [USER_ID_2] ... [USER_ID_n].
SEE ALSO
ssh(1)
FILES
/etc/ssh/ssh_import_id
AUTHOR
This manpage and the utility was written by Dustin Kirkland <kirkland@canonical.com> for Ubuntu systems (but may be used by others). Per-
mission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published
by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
ssh-import 23 Feb 2010 ssh-import-id(1)