01-14-2007
SSH enable, Telnet disable ...
Hi...
How do I enable SSH and disable telnet..
Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet?
Adel
10 More Discussions You Might Find Interesting
1. Linux
I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this.
**** I'm running Redhat 9
*****External Usrobotics 56k
Thanks a lot guys (1 Reply)
Discussion started by: josramon
1 Replies
2. Solaris
How can i disable rlogin or rcopy from being running as a services in my system ? is there a way ? and is it gonna affect other remote services like ssh and telnet ? (3 Replies)
Discussion started by: XP_2600
3 Replies
3. UNIX for Advanced & Expert Users
Could anybody tell me how I can disable or enable the backspace key in vi editor.
I would like to feel the essence of the commands of vi editor but as I have the latest version and it is supporting the backspace key.
I do it on promp using the command
stty erase -
This command stops the... (5 Replies)
Discussion started by: mobile01
5 Replies
4. Shell Programming and Scripting
Hi All,
I am new to cronjob and need some guidance on this.
1) How do i enable a cronjob ?
Can it be done by "crontab mycronfile" or "crontab -e mycronfile"
2) How can i disable the cronjob?
Can deleting of the "mycronfile" disable the cron or do i need to perform "crontab -r mycronfile"... (7 Replies)
Discussion started by: Raynon
7 Replies
5. Cybersecurity
Hello,
We recently had a Nessus scan done of our system and the solution to one of the findings was this:
disable the RIP agent and use an EGP routing protocol
I have been unable to find any specific instruction on how to do either. We are running Solaris 8.
Any help would be greatly... (3 Replies)
Discussion started by: stringman
3 Replies
6. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
7. UNIX for Dummies Questions & Answers
since i don't have root access, i have been doing:
crontab -l > /tmp/username.crontab
crontab -r
vi /tmp/username.crontab and copy page
crontab -e, and paste
sometimes, /tmp/username.crontab has more than 1 page, so i have to copy twice.
how do i copy all contents from... (2 Replies)
Discussion started by: tjmannonline
2 Replies
8. UNIX for Dummies Questions & Answers
How to enable and disable the auto mount option for USB devices.? (3 Replies)
Discussion started by: ungalnanban
3 Replies
9. HP-UX
hi everybody,
I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how?
cheers,
messi (1 Reply)
Discussion started by: messi777
1 Replies
10. Infrastructure Monitoring
Hi @ all,
we are a non-profit educational organisation. Now my company wants to disable printers, when a room is not used.
I do a lot monitoring, using snmp. So I had the idea of disabling and enabling the printers by using snmp. After searching for hours, I only found some status-objects (ro)... (1 Reply)
Discussion started by: karls0
1 Replies
LEARN ABOUT LINUX
ssh-copy-id
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 and append the indicated identity file to that machine's ~/.ssh/autho-
rized_keys file.
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.)
NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in
its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu-
ally, e.g. via
chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys
on the remote machine.
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)