====== [hemmerling] Remote Access Tools for Computers & Network Clients 2/5 - Serial Connections ====== Related pages: *[[remoteaccess.html|Remote Access Tools for Computers & Network Clients 1/5]]. *[[remoteaccess03.html|Remote Access Tools for Computers & Network Clients 3/5 - Screen Sharing by Remote Administration Tools ( RAT )]]. *[[remoteaccess04.html|Remote Access Tools for Computers & Network Clients 4/5 - Browsers & E-Mail Clients & Newsreaders I]]. *[[remoteaccess05.html|Remote Access Tools for Computers & Network Clients 5/5 - Browsers & E-Mail Clients & Newsreaders II]]. *[[unix02.html|Unix 2/12 - Linux & BSD Distributions]], "Google Android" for "Unix System Shells" for Android. ===== SSH Clients & Servers, Telnet and Terminal Clients ===== ==== Telnet & SSH Clients for Windows, Linux ==== === KiTTY === *The OpenSource [[http://www.9bis.net/kitty/|KiTTY]], [[https://github.com/cyd01/KiTTY/|GitHub "KiTTY, a free telnet/ssh client for Windows"]] for Windows - "KiTTY is a fork from version 0.74 of PuTTY, the best telnet / SSH client in the world. KiTTY is only designed for the Microsoft Windows platform". === PuTTY === *The OpenSource [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|Simon Tatham "PuTTY: A Free Telnet/SSH Client"]] for Windows and Linux. *[[http://en.wikipedia.org/wiki/PuTTY|EN.Wikipedia "PuTTY"]]. === Windows Terminal Services with SSH Service on Win10 === *"System / Settings / For developers - Terminal", "Choose the default terminal app". -"Let Windows decide". -"Windows Console Host". *Use Powershell & CMD.EXE commandline, as ANSI / VT100 terminal. ANSI terminal applications like the Linux editor "nano" work fine. -"Windows Terminal". *[[http://apps.microsoft.com/detail/9n0dx20hk701|Microsoft Store "Windows Terminal"]]. *Call the terminal by the Win10 search "Windows Terminal" => "Terminal. App". ==== SSH Shells for Android ==== === Recommended SSH Shells for Android === *[[http://www.connectbot.org/|ConnectBot]] # - "The first SSH client for Android". *[[http://play.google.com/store/apps/details?id=org.connectbot|Google Play, Kenny Root "ConnectBot"]]. *The character font size may be changed by button bar setting “Größe erzwingen" - Default "80 x 25". If you change to "40x25". *[[http://en.wikipedia.org/wiki/ConnectBot|EN.Wikipedia "ConnectBot"]]. *[[http://www.juicessh.com/|JuiceSSH]] #. *[[http://play.google.com/store/apps/details?id=com.sonelli.juicessh|Google Play, Sonelli Ltd "JuiceSSH - SSH Client"]]. *Android 15: *Google Play App: "This app isn't available for your device because it was made for an older version of Android" :-(. *Google Play by web browser "This app is not available for your device" :-(. *[[http://juicessh.de.aptoide.com/app|Aptoide "Aptoide"]]. *Download, installation and operation on Android 15 works fine :-). *Customizing the character font size: *"Verwenden Sie die Lautstärke-Tasten Ihres Geräts, um die Schriftgröße anzupassen" :-). *The character font size may be changed by settings “Einstellungen / Schriftgröße”. *Sie können die Schriftgröße während einer SSH Sitzung auch über die Lautstärke-Tasten Ihres Geräts anpassen". *[[http://play.google.com/store/apps/details?id=com.myprog.terminalnative|Google Play, First Row "ServerDoor - SSH Client"]]. *Customizing the character font size: *Use 2 fingers in the means of a zoom function, to increase and decrease the character font size :-). *Creation & editing of profiles.. *When creating the profile, you must know the IP address ( obviously ), but also the port. So there is no help that port "22" is the standard SSH port. *You must first "kill" a profile ( the connection of the profile ), before you may "edit" or "delete" it. *Connecting. *"Password. Would you like to save this password?". *[[http://play.google.com/store/apps/details?id=com.adamspierredavid.ssh_manager|Google Play, adamspd "SSH Manager"]]. *The shell commands are not entered in the terminal window, but at an extra input line. *Customizing the character font size: *Use 2 fingers in the means of a zoom function, to increase and decrease the character font size :-). *[[http://play.google.com/store/apps/details?id=com.server.auditor.ssh.client|Google Play, Termius Corporation "Termius - Modern SSH Client"]]. *Customizable keyboard :-). *Special menu with keyboard shortcuts for PC keys ( "F1"... "F12", "Home",.. ) and important keys ( ":", ";",...) :-). *Snippet manager: *"There are 5 snippets only may be created in the free version. Get premium access to create more snippets". *Customizing the character font size: *Use 2 fingers in the means of a zoom function, to increase and decrease the character font size :-). === SSH Shells for Android which can just execute single SSH Commands === *[[http://play.google.com/store/apps/details?id=com.apk_devops.ssh_commands_free|Google Play, Kanan Karimov "SSH Commands"]]. *Implements FTP server and TFTP server, additionally :-). *You may just send commands by a "batch" command. *By saving the batch commands in an object, which can be executed. *By interactively entering the batch command in a temporary list, which can be executed. *In "Debug" mode, you may watch the terminal output. *Similar app with FTP server and TFTP server, without SSH functions: [[https://play.google.com/store/apps/details?id=com.apk_devops_ftp_client|Google Play, Kanan Karimov "FTP Client/Server"]]. *[[http://play.google.com/store/apps/details?id=com.pd7l.sshbutton|Google Play, David Grootendorst "SSH button"]]. *You may just send single shell commands by SHH. *"With the SSH button application you can send ssh commands to linux hosts via a button on your android device". *No terminal output. Only feedback is a text message, e.g. "OK" or "Returncode was 1". === SSH Shells for Android by PTY, USB and Bluetooth Serial Ports === *[[http://play.google.com/store/apps/details?id=green_green_avk.anotherterm|Google Play, Aleksandr Kiselev "Another Term"]]. *[[http://www.github.com/green-green-avk|GitHub "green-green-avk"]] - "Local PTY, USB and Bluetooth serial ports, SSH and Telnet terminal client for Android". *[[http://www.github.com/green-green-avk/AnotherTerm|GitHub "green-green-avk / AnotherTerm"]]. *[[http://www.green-green-avk.github.io/AnotherTerm-docs/|GitHub "green-green-avk / AnotherTerm / AnotherTerm-docs"]]. *[[http://www.github.com/green-green-avk/AnotherTermLite|GitHub "green-green-avk / AnotherTermLite"]] - The predecessor. *This SSH terminal is for USB, not for Wifi connections, right?!. === Not recommended SSH Shells for Android === *[[http://play.google.com/store/apps/details?id=alsultan.sshclient|Google Play, AL-SULTAN (Mohamed Gamal Al-Quaiti) "Android SSH Client"]]. *Advertising banner at bottom :-(, for the affordable professional edition. *[[http://play.google.com/store/apps/details?id=com.deskangel.daremote|Google Play, iDeskangel "DaRemote:ssh,linux,docker,sftp"]] - Shareware ( app screen message "Expires in 5 days" ) :-(. *[[http://www.dataplicity.com/|Dataplicity by MachineForest Ltd.]]. *[[http://www.dataplicity.com/subscriptions/plans/|Dataplicity by MachineForest Ltd. "Pricing"]] - "Free", "Standard", "Pro". *[[http://downloads.dataplicity.com/|Dataplicity "Dataplicity downloads"]]. *[[http://play.google.com/store/apps/details?id=com.wildfoundry.dataplicity.management|Google Play, MachineForest "dataplicity - Terminal for Pi"]]. *Reviews: *"but you can't use more than 1 Device unless you pay a Monthly Subscription Fee". *Personal review: *Why shall I register for an online service, if I just want a local device connection, which doesn't need a "Cloud"? *[[http://play.google.com/store/apps/details?id=mobileSSH.feng.gao|Google Play, Gao Feng "Mobile SSH (Secure Shell)"]]. *Annoying full-screen ad breaks :-(. I.e. the app operation requires permanent Internet access :-(. Additional advertising banner at top :-(. *Ugly user interface, that forces to switch on and off the online keyboard, to switch between input window and output pane :-(. *[[http://play.google.com/store/apps/details?id=com.netsarang.portx|Google Play, NetSarang Computer, Inc. "PortX - SSH Client"]]. *"Liebe Nutzer. Wir freuen uns Ihnen mitteilen zu können, dass der PortX-App-Dienst offiziell am 31.Dezember 2025 endet" :-(. *"Wir freuen uns, die Veröffentlichung unserer neuen App Xcasca anzukündigen... Um die Veröffentlichung von Xcasca zu feiern, können Sie alle Funktionen drei Monate lang kostenlos testen" :-(. *[[http://play.google.com/store/apps/details?id=com.kh.sshmobileapp|Google Play, SOFTCREATIVE "ssh mobile app"]] - No SSH client at all, just login screen :-(. *[[http://play.google.com/store/apps/details?id=dev.epro.ssc|Google Play, ePro Dev. Team "SSH Custom"]]. *You may connect via SSH, but there is no terminal window or other means to execute a shell command :-(. *Annoying full-screen ad breaks :-(. I.e. the app operation requires permanent Internet access :-(. *[[http://play.google.com/store/apps/details?id=nostrum_apps.studnet_ssh|Google Play "StudNET SSH Connection Client"]] - No SSH client :-(. *[[http://play.google.com/store/apps/details?id=sw.programme.te|Google Play, CIPHERLAB "Terminal Emulator"]] - Shareware ( "Unlicensed Software. This software is not yet licensed yet. You may try it out during this trial period. Please get a license to continue the usage smoothly" ) :-(. ==== SSH Servers for Linux, Windows ==== *[[http://sshwindows.sourceforge.net/|SourceForge "OpenSSH for Windows"]], [[http://www.sourceforge.net/projects/sshwindows/|SourceForge "OpenSSH for Windows"]]. *"OpenSSH for Windows is a free package that installs a minimal OpenSSH server and client utilities in the Cygwin package without needing the full Cygwin installation". *"Before starting the OpenSSH service you MUST edit the C:\Program Files (x86)\OpenSSH\etc\passwd file. If you don't do this, you will not be able to log in through the SSH server. Please read the readme.txt or quickstart.txt file for information regarding proper setup of the passwd file". ==== SSH Keys, SSH Password Phrase ==== *[[http://support.asperasoft.com/hc/en-us/articles/216125458-Manipulating-ssh-keys-files-in-Linux-and-Windows-Environments|Aspera "Manipulating ssh keys files in Linux and Windows Environments"]]. *[[http://help.github.com/articles/working-with-ssh-key-passphrases/|GitHub Help "Working with SSH key passphrases"]]. *[[http://www.google.de/search?q=openssh+delete+password+phrase|Google - Search for "delete password phrase"]]. *[[http://learninglamp.wordpress.com/2012/06/26/remove-passphrase-from-ssh-key/|LAMPish tidbits "Remove Passphrase from SSH Key"]] - "openssl rsa -in private_key_with_pass_phrase -out private_key_without_pass_phrase". *[[http://www.cyberciti.biz/faq/howto-ssh-changing-passphrase/|nixCraft. Linux and Unix tutorials for new and seasoned sysadmin "OpenSSH Change a Passphrase With ssh-keygen command"]]. *[[http://unix.stackexchange.com/questions/12195/how-to-avoid-being-asked-passphrase-each-time-i-push-to-bitbucket|StackExchange, Unix & Linux "How to avoid being asked passphrase each time I push to Bitbucket"]]. *[[http://www.thinkplexx.com/learn/howto/security/ssl/remove-passphrase-password-from-private-rsa-key|Thinkplexx "Remove passphrase (password) from private RSA key"]]. *[[http://unix.stackexchange.com/questions/12195/how-to-avoid-being-asked-passphrase-each-time-i-push-to-bitbucket|StackExchange "How to avoid being asked passphrase each time I push to Bitbucket"]]. *[[http://www.stackoverflow.com/questions/112396/how-do-i-remove-the-passphrase-for-the-ssh-key-without-having-to-create-a-new-ke|StackOverflow "How do I remove the passphrase for the SSH key without having to create a new key?"]]. ==== Resources ==== *My AlmaLinux PC has the local IP "192.168.178.11", SSH port: "11", username: "node11". *Microsoft Terminal. *[[http://learn.microsoft.com/en-us/windows/terminal/install|Microsoft Ignite "Install and get started setting up Windows Terminal"]], 2022. *[[http://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-general|Microsoft Ignite "General profile settings in Windows Terminal"]]. *[[http://learn.microsoft.com/en-us/windows/terminal/tutorials/ssh|Microsoft Ignite "Tutorial: SSH in Windows Terminal"]], 2024-05. *"The latest builds of Windows 10 and Windows 11 include a built-in SSH server and client that are based on OpenSSH". *By default, the OpenSSH client and OpenSSH server are located in the directory: C:\Windows\System32\OpenSSH *"System / Settings / Optional features" - "Added features" & "+ Add a feature" => "OpenSSH Client", "OpenSSH Server". *[[http://www.stackoverflow.com/questions/63101571/where-is-the-windows-terminal-settings-location/66003513#66003513|StackOverflow "Where is the windows terminal settings location?"]]. *"In the current version ..., the application can open the JSON settings file for you via a button. Open the Settings tab, and the bottom left corner will have a button named "Open JSON file". Clicking that button will open a prompt asking with what application to open the file. That text editor can then tell you where the file is located". *Location "C:\Users\{Username}\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState". *How to call my Linux computer "node11" from Win10Pro Powershell, CMD.EXE or Windows Terminal: ssh node11@192.168.178.11 *[[http://programmers.stackexchange.com/questions/104332/best-practice-when-unit-testing-for-embedded-development|StackOverflow "best practice when unit testing for embedded development"]] - "A necessary tool to develop is a signal injector. The embedded system will have some way of interfacing with a host system (typically via a serial port reserved for debugging). Use this to send test data (best option is terse ascii formatted so it is easily simulated by humans too)", "Using TeraTerm as a serial port signal injector, and writing some TeraTerm macros (takes about 20 minutes), there is a huge suite of automated tests which can be run against any part of an embedded system -- whether driver layer, O/S, layer 4-5, etc". *[[http://en.wikipedia.org/wiki/Secure_Shell|EN.Wikipedia "Secure Shell"]], [[http://de.wikipedia.org/wiki/Secure_Shell|DE.Wikipedia "Secure Shell"]] ( SSH ). ===== Serial Communications & Terminal Clients ===== ==== Terminal Clients for Windows, Linux ==== *The free [[http://www.der-hammer.info/terminal/|Tobias Hammer "HTerm"]] for Windows and Linux. *The OpenSource [[http://realterm.sourceforge.net/|SourceForge "RealTerm: Serial/TCP Terminal"]], [[http://www.sourceforge.net/projects/realterm/|SourceForge "RealTerm: Serial/TCP Terminal"]]. *The OpenSource [[http://tera-term.sourceforge.net/|SourceForge "Tera Term"]], [[http://www.sourceforge.net/projects/tera-term/|SourceForge "Tera Term"]] for Windows. *The free [[http://www.compuphase.com/software_termite.htm|Thiadmer Riemersma, CompuPhase "Termite: a simple RS232 terminal"]] for Windows. ==== Protocols to transfer Data between 2 Terminals ==== *[[http://en.wikipedia.org/wiki/XMODEM|EN.Wikipedia "XMODEM"]], [[http://de.wikipedia.org/wiki/XMODEM|DE.Wikipedia "XMODEM"]]. *[[http://en.wikipedia.org/wiki/Kermit_(protocol)|EN.Wikipedia "Kermit (protocol)"]], [[http://de.wikipedia.org/wiki/Kermit_(Software)|EN.Wikipedia "Kermit (Software)"]]. *[[http://en.wikipedia.org/wiki/BLAST_(protocol)|EN.Wikipedia "BLAST (protocol)"]]. ===== USB Serial Drivers / Virtual COM Port (VCP) Drivers for Windows ===== *[[http://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids|Microsoft Documentation "USB serial driver (Usbser.sys)"]]. *[[http://www.ftdichip.com/drivers/vcp-drivers/|FTDI "Virtual COM Port Drivers"]]. *[[http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41|Prolific Technology Inc. "PL2303 Windows Driver Download. USB to UART RS232 Serial"]]. {{tag>"remote access" computer network ssh telnet terminal}}