“UbuntuHelp:MythTV/Install/Server/OpenSSH”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/MythTV/Install/Server/OpenSSH}} {{Languages|UbuntuHelp:MythTV/Install/Server/OpenSSH}} === Install OpenSSH Server === From this point forward, I'd...) |
小 |
||
第3行: | 第3行: | ||
=== Install OpenSSH Server === | === Install OpenSSH Server === | ||
From this point forward, I'd recommend you have a ssh server running. It will save a lot of typing during setup and help with debugging problems later. | From this point forward, I'd recommend you have a ssh server running. It will save a lot of typing during setup and help with debugging problems later. | ||
− | |||
Re-insert the server install CD into the drive and: | Re-insert the server install CD into the drive and: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
$ sudo apt-get install openssh-server | $ sudo apt-get install openssh-server | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
Once it is installed and running, discover the ip address of this machine on your network, so you can log in remotely, if needed: | Once it is installed and running, discover the ip address of this machine on your network, so you can log in remotely, if needed: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
$ ifconfig | $ ifconfig | ||
第25行: | 第21行: | ||
RX bytes:1252961706 (1.1 GiB) TX bytes:265742573 (253.4 MiB) | RX bytes:1252961706 (1.1 GiB) TX bytes:265742573 (253.4 MiB) | ||
Interrupt:50 Base address:0x2000 | Interrupt:50 Base address:0x2000 | ||
− | |||
lo Link encap:Local Loopback | lo Link encap:Local Loopback | ||
inet addr:127.0.0.1 Mask:255.0.0.0 | inet addr:127.0.0.1 Mask:255.0.0.0 | ||
第35行: | 第30行: | ||
</nowiki></pre> | </nowiki></pre> | ||
Now you can log in remotely in a forwarded X session by replacing your user and address in the following command ''from the remote computer'': | Now you can log in remotely in a forwarded X session by replacing your user and address in the following command ''from the remote computer'': | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
$ ssh -X -Y [email protected] | $ ssh -X -Y [email protected] | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
You can remove the server install CD at this time. | You can remove the server install CD at this time. | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 20:41的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Install OpenSSH Server
From this point forward, I'd recommend you have a ssh server running. It will save a lot of typing during setup and help with debugging problems later. Re-insert the server install CD into the drive and:
$ sudo apt-get install openssh-server
Once it is installed and running, discover the ip address of this machine on your network, so you can log in remotely, if needed:
$ ifconfig
user@mythbackend:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:1A:92:1C:BE:20 ##--->> inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6889755 errors:0 dropped:0 overruns:0 frame:0 TX packets:3859160 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1252961706 (1.1 GiB) TX bytes:265742573 (253.4 MiB) Interrupt:50 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:718 errors:0 dropped:0 overruns:0 frame:0 TX packets:718 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:95836 (93.5 KiB) TX bytes:95836 (93.5 KiB)
Now you can log in remotely in a forwarded X session by replacing your user and address in the following command from the remote computer:
$ ssh -X -Y [email protected]
You can remove the server install CD at this time.