Browse Source

shorewall

master
test2 5 years ago
parent
commit
0d48b36ee9
  1. 33
      sec/ex-6_iptables.adoc

33
sec/ex-6_iptables.adoc

@ -205,8 +205,41 @@ Now try logging into the machine, with "ssh 'username@remoteserver'", and check
----
=== run graphics applications remotely
X11 forwarding needs to be enabled on both the client side and the server side.
- On the client side, the -X (capital X) option to ssh enables X11 forwarding
- On the server side, X11Forwarding yes must specified in /etc/ssh/sshd_config.
- The xauth program must be installed on the server side.
[source,bash]
----
ssh user@192.168.89.5 gimp
----
=== Copy Files and Directories Between Two Systems with scp
To copy a file from a local to a remote system run the following command:
[source,bash]
----
scp file.txt user@192.168.89.5:/remote/directory
----
=== Copy a Remote File to a Local System using the scp ommand
To copy a file named file.txt from a remote server with IP 192.168.89.5 run the following command:
[source,bash]
----
scp user@192.168.89.5:/remote/file.txt /local/directory
----

Loading…
Cancel
Save