BumQ

วันเสาร์ที่ 7 เมษายน พ.ศ. 2555

How to use SSH to remotely access Server-Manager

On SME v5.5 SSH X11 forwarding is enabled by default but on 5.6 you have to modify the SSH configuration.
[root@e-smith ]# mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config
[root@e-smith ]# echo "X11Forwarding yes" > /etc/e-smith/templates-custom/etc/ssh/sshd_config/X11Forwarding
[root@e-smith ]# /sbin/e-smith/expand-template /etc/ssh/sshd_config


Now restart the SSH deamon
[root@e-smith ]# service sshd restart
Download and install TTSH Telnet / SSH client
Read this section: How to Obtain and Install TTSSH
Make a shortcut to c:\program files\TTTERMPRO\ttssh.exe on your desktop.

Open TTSH | Setup | SSH Forwarding and configure like so:

Set Terminal Window Size: Setup | Terminal | check Term size=win size
Make sure you save it by doing Setup | Save Setup

File | New Connection and put in your remote IP to connection.


When prompted login as either admin or root and supply password (same for both)
admin gets your the console and can admin it via lynx text browser, etc.
root gets your the shell ...check diskspace df -h, change config files, etc.

Open up your broswer and type http://localhost:8000 (you need the http:// part)
It'll prompt you for authentication. Again login either as admin or root and voila
you should now be able to use web browser to admin your e-smith server remotely.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น