Configure OpenSSH to use TCP-Wrappers inetd super server | All about OS

Configure OpenSSH to use TCP-Wrappers inetd super server

Категория: Securing and Optimizing

• To login to a remote machine, use the command: [root@deep /]# ssh -I
For example:
[root@deep /]# ssh -I admin www.openna.com
admin@deep.openna.com’s password:
Last login: Tue Oct 19 1999 18:13:00 -0400 from deep.openna.com
No mail.
[admin@www admin]$
Where is the name you use to connect to the ssh server and is the remote address of your ssh server.
scp
The “scp” (Secure Copy) utility copies files from the local system to a remote system or vice versa, or even between two remote systems using the scp command.
• To copy files from remote to local system, use the following command: [root@deep /]# su admin [admin@deep /]$ scp -p :/dir/for/file localdir/to/filelocation
For example:
[admin@deep/]$ scp1 -p admin@mail:/etc/test1 /tmp
Enter passphrase for RSA key ‘admin@mail.openna.com’:
testi | 2 KB | 2.0 kB/s | ETA: 00:00:00 | 100%
• To copy files from local to remote system, use the following command: [root@deep /]# su admin [admin@deep /]$ scp -p localdir/to/filelocation :/dir/for/file
For example:
[admin@deep /]$ scp1 -p /usr/bin/test2 admin@mail:/var/tmp
admin@mail’s password:
test2 | 7 KB | 7.9 kB/s | ETA: 00:00:00 | 100%
NOTE: The “-p” option indicates that the modification and access times, as well as modes of the source file, should be preserved on the copy. This is usually desirable.
Some possible uses of OpenSSH software
OpenSSH can be used to:
1. Replace telnet, rlogin, rsh, rdist, and rep.
2. Make secure backups over the network.
3. Execute remote commands.
4. Access to corporate resources over the Internet.
Installed files
> /etc/ssh > /usr/bin/slogin
> /etc/ssh/ssh_config > /usr/man/man1/ssh.1
> /etc/ssh/sshd_config > /usr/man/man 1 /scp. 1
> /etc/ssh_host_key > /usr/man/man 1 /ssh-add. 1
> /etc/ssh_host_key.pub > /usr/man/man 1/ssh-agent.1
> /usr/bin/ssh > /usr/man/man1/ssh-keygen.1
> /usr/bin/scp > /usr/man/man1/slogin.1
> /usr/bin/ssh-add > /usr/man/man8/sshd.8
> /usr/bin/ssh-agent > /usr/sbin/sshd
> /usr/bin/ssh-keygen

Страниц: 1 2 3 4

« Securities Software (Network Services).Linux OpenSSH Client/Server
Linux SSH2 Client/Server »