Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-quick-start:sshadministration [2021/08/12 02:19] – update vgaeteradocs:guide-quick-start:sshadministration [2022/08/05 18:08] – [Windows terminal emulators] added external link and cleanup palebloodsky
Line 14: Line 14:
  
 <code> <code>
-$ ssh root@192.168.1.1                                                    <== You type this+$ ssh root@192.168.1.1                                          <== You type this
 The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
 RSA key fingerprint is SHA256:4VbDA/MOc7inPiyllF5f0r3Q6iEx89ddKdhLGBovsiY. RSA key fingerprint is SHA256:4VbDA/MOc7inPiyllF5f0r3Q6iEx89ddKdhLGBovsiY.
-Are you sure you want to continue connecting (yes/no)? yes                <== and this+Are you sure you want to continue connecting (yes/no)? yes      <== and this
 Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts. Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
-root@192.168.1.1's password:                                              <== and the password here+root@192.168.1.1's password:                                    <== and the password here
  
 BusyBox v1.28.4 () built-in shell (ash) BusyBox v1.28.4 () built-in shell (ash)
Line 32: Line 32:
  -----------------------------------------------------  -----------------------------------------------------
  
-root@OpenWrt:~#                                                           <== type next command here+root@OpenWrt:~#                                                 <== type next command here
 </code> </code>
  
Line 39: Line 39:
 The remainder of this page describes several terminal emulators that Windows, Linux, or macOS can use to access your OpenWrt device. The remainder of this page describes several terminal emulators that Windows, Linux, or macOS can use to access your OpenWrt device.
  
 +//Note: To add a SSH public key to your OpenWrt device, see [[:docs:guide-user:security:dropbear.public-key.auth#From the LuCI Web Interface]]//
 ===== Windows terminal emulators ===== ===== Windows terminal emulators =====
-Windows Terminal for Windows 10 or the legacy ConHost (both giving access to Windows PowerShell, Windows Command Prompt, WSL Bash), PuTTY, MinGW (installed together with Git), Cmder, SmarTTY, and WinSCP are terminal emulators that allow you to SSH into an OpenWrt router.+[[https://github.com/microsoft/terminal|Windows Terminal]] or the legacy PowerShell, Command Prompt, ConHost, or WSL Bash choices are available. Third party programs such as  [[https://www.putty.org/|PuTTY]], MinGW (installed with Git), Cmder, SmarTTY, and WinSCP are also terminal emulators that can provide SSH into an OpenWrt router.
  
 ==== Windows 10 built-in terminals ==== ==== Windows 10 built-in terminals ====
Line 91: Line 92:
   - Download [[https://winscp.net/eng/download.php|WinSCP]], get the non-beta ''Installation package'' or ''portable executables'' and install or unzip them on your Windows client   - Download [[https://winscp.net/eng/download.php|WinSCP]], get the non-beta ''Installation package'' or ''portable executables'' and install or unzip them on your Windows client
   - Start ''WinSCP.exe'' on your Windows client, WinSCP's login window will pop up   - Start ''WinSCP.exe'' on your Windows client, WinSCP's login window will pop up
-  - Click on ''New Site'' on the left, then enter your OpenWrt device IP address (192.168.1.1) on the right side into ''Host name'', keep the default port ''22''. In ''User name'' enter **root**, in ''Password'', enter your root **password** (or leave blank, if you have not set a password yet)+  - Click on ''New Site'' on the left, ensure ''File protocol'' is set to **scp** then enter your OpenWrt device IP address (192.168.1.1) on the right side into ''Host name'', keep the default port ''22''. In ''User name'' enter **root**, in ''Password'', enter your root **password** (or leave blank, if you have not set a password yet)
   - Click the ''Login'' at the bottom of the Window.   - Click the ''Login'' at the bottom of the Window.
   - Done. You now have an Exlorer-like view of your OpenWrt file system.   - Done. You now have an Exlorer-like view of your OpenWrt file system.
  • Last modified: 2022/08/05 19:30
  • by palebloodsky