HOWTO: How to access your files on a remote PardusPC
(→Introduction) |
AliIsingor (Talk | contribs) |
||
| (21 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
== Introduction== | == Introduction== | ||
This is a manual on how to access your files on a remote PardusPC, which is connected to a router. | This is a manual on how to access your files on a remote PardusPC, which is connected to a router. | ||
| − | This is very useful when you want to manipulate your files on a fixed Desktop computer | + | This is very useful when you are comfortably sitting in your chair with your notebook and you want to manipulate your files on a fixed Desktop computer. |
To do this we need to start a Secure Shell Server(SSH) and make changes to the firewall before we can have access (read/write) to our files in Konqueror or Krusader. | To do this we need to start a Secure Shell Server(SSH) and make changes to the firewall before we can have access (read/write) to our files in Konqueror or Krusader. | ||
| Line 8: | Line 7: | ||
It is highly recommended to give the remote PardusPC a fixed IP address. | It is highly recommended to give the remote PardusPC a fixed IP address. | ||
Look in this [http://en.pardus-wiki.org/HOWTO:_Setup_a_fixed_IP_address_for_your_computer page] how to do this. | Look in this [http://en.pardus-wiki.org/HOWTO:_Setup_a_fixed_IP_address_for_your_computer page] how to do this. | ||
| − | ==Settings on | + | ==SSH server setting on remote computer== |
| + | ===Pardus 2009=== | ||
| + | System Settings > Service Manager | ||
| + | openssh > mark at 'Run on start' and activate 'Start service' (green flag should be shown) | ||
| + | ===Pardus 2008=== | ||
[Pardus]>[Tasma]>[System]>[Service Manager] | [Pardus]>[Tasma]>[System]>[Service Manager] | ||
Select [Secure Shell Server]. | Select [Secure Shell Server]. | ||
| Line 14: | Line 17: | ||
In the column {Run on Startup} {Yes} should be shown. | In the column {Run on Startup} {Yes} should be shown. | ||
[Back]. | [Back]. | ||
| + | |||
| + | ==Firewall settings on all computers== | ||
| + | ===Pardus 2009=== | ||
| + | System Settings > Firewall Manager | ||
| + | When activated and incoming connections blocked allow traffic on port number 22 | ||
| + | ===Pardus 2008=== | ||
[Internet & Network]>[Firewall Config] | [Internet & Network]>[Firewall Config] | ||
| − | + | When activated put a mark at {Remote login service} and [Apply]>[Back] and close Tasma | |
| − | + | ||
| − | + | ==Connecting to the remote computer== | |
| − | == | + | ===Pardus 2009=== |
| + | Open Dolphin or Krusader and enter in the location bar: | ||
| + | fish://username@ip.address.of_the_remote.computer | ||
| + | If we take [http://en.pardus-wiki.org/Pardus:Installation2009#Create_User.28s.29 this] [2] and [http://en.pardus-wiki.org/Pardus:Installation2009#Network_activation this] [2] as an example it would be: | ||
| + | fish://juser@192.168.0.101 + <enter> | ||
| + | or in Dolphin goto Network > Network Services > Remote disk (fish) > remote_machine_name | ||
| + | |||
| + | (remote_machine_name = On remote computer open Network Manager > Nameserver Settings > Machine Name) | ||
| + | |||
| + | ===Pardus 2008=== | ||
To do this we need to know: | To do this we need to know: | ||
*Username of the user | *Username of the user | ||
| Line 24: | Line 42: | ||
*IP address of the remote computer | *IP address of the remote computer | ||
Open Home (Konqueror) or Krusader and enter at Location: | Open Home (Konqueror) or Krusader and enter at Location: | ||
| − | fish:// | + | fish://ip.address.of_the_remote.computer/home/username + <enter> |
If we take [http://en.pardus-wiki.org/Pardus:Installation2008#Network_card_activation this] [2] and [http://en.pardus-wiki.org/Pardus:Installation2008#Set_Users this] [1] as an example it would be: | If we take [http://en.pardus-wiki.org/Pardus:Installation2008#Network_card_activation this] [2] and [http://en.pardus-wiki.org/Pardus:Installation2008#Set_Users this] [1] as an example it would be: | ||
| − | fish://192.168.62.55/home/juser | + | fish://192.168.62.55/home/juser + <enter> |
| − | + | During inputting the above "fish:.." line a "Question-Konqueror" window with "The authenticity ..... Are you sure you want to continue connecting" will appear. Select [Yes] and continue with your input. | |
| − | + | After <enter> a "SSH Athorization....." window will appear. | |
Enter the password of the user + [OK] | Enter the password of the user + [OK] | ||
| − | And (if everything is OK) your files will appear and you can | + | And (if everything is OK) your files will appear and you can edit your files as if they were on your local computer. |
It is possible to make a Link to Location (URL)... with {fish://IP.address.of.the.remote.computer/home/username} shortcut on your Desktop. | It is possible to make a Link to Location (URL)... with {fish://IP.address.of.the.remote.computer/home/username} shortcut on your Desktop. | ||
| + | |||
| + | ==Troubleshooting== | ||
| + | To solve a "Can't connect to ip.address.of_the_remote.computer" error, remove the file /home/your_username/.ssh/known_hosts on the local computer and try again. | ||
Latest revision as of 14:26, 24 November 2010
Contents |
Introduction
This is a manual on how to access your files on a remote PardusPC, which is connected to a router. This is very useful when you are comfortably sitting in your chair with your notebook and you want to manipulate your files on a fixed Desktop computer. To do this we need to start a Secure Shell Server(SSH) and make changes to the firewall before we can have access (read/write) to our files in Konqueror or Krusader.
IP address of remote PardusPC
It is highly recommended to give the remote PardusPC a fixed IP address. Look in this page how to do this.
SSH server setting on remote computer
Pardus 2009
System Settings > Service Manager
openssh > mark at 'Run on start' and activate 'Start service' (green flag should be shown)
Pardus 2008
[Pardus]>[Tasma]>[System]>[Service Manager]
Select [Secure Shell Server].
Put a mark at {Run on startup} and activate the green (Start)button.
In the column {Run on Startup} {Yes} should be shown.
[Back].
Firewall settings on all computers
Pardus 2009
System Settings > Firewall Manager
When activated and incoming connections blocked allow traffic on port number 22
Pardus 2008
[Internet & Network]>[Firewall Config]
When activated put a mark at {Remote login service} and [Apply]>[Back] and close Tasma
Connecting to the remote computer
Pardus 2009
Open Dolphin or Krusader and enter in the location bar:
fish://username@ip.address.of_the_remote.computer
If we take this [2] and this [2] as an example it would be:
fish://juser@192.168.0.101 + <enter>
or in Dolphin goto Network > Network Services > Remote disk (fish) > remote_machine_name
(remote_machine_name = On remote computer open Network Manager > Nameserver Settings > Machine Name)
Pardus 2008
To do this we need to know:
- Username of the user
- Password of the user
- IP address of the remote computer
Open Home (Konqueror) or Krusader and enter at Location:
fish://ip.address.of_the_remote.computer/home/username + <enter>
If we take this [2] and this [1] as an example it would be:
fish://192.168.62.55/home/juser + <enter>
During inputting the above "fish:.." line a "Question-Konqueror" window with "The authenticity ..... Are you sure you want to continue connecting" will appear. Select [Yes] and continue with your input.
After <enter> a "SSH Athorization....." window will appear.
Enter the password of the user + [OK]
And (if everything is OK) your files will appear and you can edit your files as if they were on your local computer.
It is possible to make a Link to Location (URL)... with {fish://IP.address.of.the.remote.computer/home/username} shortcut on your Desktop.
Troubleshooting
To solve a "Can't connect to ip.address.of_the_remote.computer" error, remove the file /home/your_username/.ssh/known_hosts on the local computer and try again.