Skip to main content

5 Basic Way to Control SSH in Linux

៥ មូលដ្ឋានគ្រឹះនៃការប្រើពាក្យបញ្ជា SSH Client សំរាប់ លីនុច
ក្នុងអត្ថបទនេះខ្ញុំនិងបង្ហាញពីការប្រើប្រាស់ SSH client ដែលមាន៥មូលដ្ឋានគ្រឹះដូចខាងក្រោម៖
១. បង្ហាញពីកំណែនៃ SSH client
២. Login ទៅកាន់remote host
៣. បញ្ជូនហ្វាលto/from ទៅកាន់remote host
​​៤. ធ្វើការបង្ហាញពីDebug នៃការតភ្ជាប់របស់​ SSH client
៥. Escape Characterរបស់SSH ដូចជា SSH session, SSH session statistics

openssh.gif
. បង្ហាញពីកំណែនៃ SSH client
ពេលខ្លះវាមានសារៈសំខាន់ចំពោះការកំណត់ពីកំណែនៃSSH client ដែលអ្នកកំពុងប្រើប្រាស់វានិងបង្ហាញពី​ លេខនៃកំណែដូចតទៅនេះ។ចូរចំណាំថាលីនុចវាមានការតភ្ជាប់ជាOpenSSH ។



. Login ទៅកាន់remote host
ទី១ . ជាលើកដំបូងពេលអ្នកLogin ពីlocalhost ទៅកាន់remotehost និងបង្ហាញពីhost key​
ដែលវារកមិនឃើញហើយអ្នកអាចclick ដើម្បីបន្តទៅទៀត។ពាក្យhost key រ​បស់remote host វានិងបន្ថែមនៅខាងក្រោមdirectory .ssh2/hostkeys ដូចខាងក្រោម៖




ទី២. ជាលើកទី២ពេលដែលអ្នកធ្វើការlogin ទៅកាន់remote host ពីlocalhost វានិងបង្ហាញ
prompt សួររកpassword សំរាប់remote host key​ ដូចខាងក្រោម៖



. បញ្ជូនហ្វាលto/from ទៅកាន់remote host
ការប្រើប្រាស់ផ្សេងទៀតនៃssh clientគឺការថតចំលងហ្វាលfrom/to ទៅកាន់remote hostដោយប្រើពាក្យបញ្ជាscp ដូចខាងក្រោម៖
- ទី១ថតចំលងហ្វាល​ ពីremotehost ទៅកាន់localhost​ ៖


ទី2ថតចំលងហ្វាល​ ពីlocalhost​ ទៅកាន់remotehost ៖


. ធ្វើការបង្ហាញពីDebug នៃការតភ្ជាប់របស់​ SSH client
ពេលខ្លះអ្នកក៍ត្រូវការបង្ហាញពីព៌តមានdebugចំពោះបញ្ហាការតភ្ជាប់SSHជាមួយការប្រើ-v ៖
- ទី១មិនត្រូវការព៌តមានdebug៖



- ទី២ត្រូវការបង្ហាញព៌តមានdebug៖



៥. Escape Characterរបស់SSH ដូចជា SSH session, SSH session statistics

Toggle SSH Session:ពេលដែលអ្នកloggedចូលទៅកាន់remotehostដោយប្រើSSH ពីlocalhostហើយអ្នកចង់ប្ដូរទីតាំងមកកាន់localhostវិញដើម្បីធ្វើការងារខ្លះនិងត្រឡប់ទៅកាន់remotehostវិញដោយមិនចាំបាច់ធ្វើការdisconnect និងreconnect ឡើយ។

- Login ទៅកាន់ remotehost ពី localhost :



- ពេលនេះអ្នកកំពុងតភ្ជាប់ជាមួយremotehost:



- ក្នុងខណៈនេះដើម្បីត្រឡប់ទៅកាន់localhostវិញសូមប្រើescape character ~ហើយនិងប្រើControl-Z។

ពេលដែលអ្នកវាយសញ្ញា~អ្នកនិងមិនឃើញមានអ្វីនៅលើscreenទេរហូតដល់ពេលអ្នកវាយ<Control-Z> ហើយpress enterដូចខាងក្រោម៖



- ពេលនេះយើងត្រឡប់មកlocalhostវិញហើយចំពោះssh remotehost client sessionនៅតែដំណើរការជាមួយunix background jobដដែល។


- បើអ្នកចង់ត្រឡប់ទៅកាន់remote hostជាមួយSSH ដោយមិនចាំបាច់ប្រើpasswordម្ដងទៀត៖


SSH Session statistics:ចំពោះបញ្ហានេះវាដំណើរការជាមួយSSH2 clientដូចខាងក្រោម៖
- Login ទៅកាន់ remotehost ពី localhost:


- ជាមួយremotehostប្រើssh escape character ~ជាមួយនិងអក្សរS នៅខាងក្រោយវានិងបង្ហាញពីការប្រើ​ប្រាស់statisticsរបស់SSH connection៖



Comments

Popular posts from this blog

Windows 7 Boot Updater

ជាទូទៅអ្នកតែងតែឃើញនូវរូប Logo របស់ Windows 7 រៀងរាល់ពេលដែល អ្នកបើកដំនើរការ កុំព្យូទ័រ ដែលគេហៅថា BootScreen។ ដូច្នេះនៅក្នុងអត្ថបទនេះ អាយធីកូនខ្មែរ នឹងបង្ហាញពីរ របៀបផ្លាស់ប្តូរ BootScreen របស់ Windows 7។ ជំហានទី ១៖ អ្នកត្រូវធ្វើការទាញយកកម្មវិធី Windows 7 Boot Updater  ចុចត្រង់នេះ ជំហានទី ២៖ បើកដំនើរការកម្មវិធីបន្ទាប់មកនៅក្នុងប្រអប់ Animation ជ្រើសរើសយកជំរើស Animation

Real Football Manager 2013 APK (Armv6 & 7)

Game Features : An intuitive interface with a simple game system (enhanced for RF Manager 2013). Actions with the press, fans and  players  that affect the performance of your  computer . An impressive array of  options , from technical to training schedules. Find the stars of tomorrow with scouting reports you send promising young. Download  Link: DataFileHost: Real Football Manager APK 2Shared: Real Football Manager APK Install  APK And Play. It's a java  port  of RFM13.

Blood & Glory: Legend Galaxy S3 APK and SD Data

Blood & Glory: Legend Galaxy S3 APK and SD Data the highly anticipated sequel to the AAA blockbuster smash-hit Blood & Glory! Return to the arena and bask in the blood-hungry cheers of the crowd as you fight to become a legend! Download Blood & Glory: Legend apk and sd data for your Samsung Galaxy S3.