How to Use ConnectBot

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Due to the odd screen size and limited keyboard, it's easy to get frustrated using ConnectBot on a smartphone. Unlocking the ability to open an SSH session from your handheld device, however, only requires a few adjustments. By adding a full keyboard, understanding the new swipe-based commands and entering the connection address alongside the username, you can begin easily opening multiple SSH sessions from a portable device.

Advertisement

Preparing to Use ConnectBot

Video of the Day

ConnectBot uses a phone's trackball as the Alt key. If your phone does not have a trackball -- a small, physical button, typically at the center bottom used for common tasks -- the ConnectBot team recommends downloading a full keyboard. (See resources.) Full keyboard apps add an Alt key to your phone's virtual keyboard.

Advertisement

Video of the Day

Opening a Session With ConnectBot

After you open the application on your phone, connection is relatively simple. When you open the program, it immediately prompts you to open a session. Set your connection type to either Telnet, SSH or Local using the pull down list -- SSH is the default option and the most secure. In the box next to the connection type, enter your SSH terminal and username in the format "[username]@[address]:[port number]", minus the quotes. For example, to connect to IP address 192.168.1.20 as user "user1" on port 22, enter "user1@192.168.1.20:22". When connected, tapping your Android device's "Back" button allows you to open another session.

Advertisement

ConnectBot utilizes the features of a touch screen to give new control over SSH sessions. When multiple sessions are open, you can jump between them by swiping to the left or right with your finger. While in a session, swiping up and down creates two different movements. Swiping up and down on the left side jumps page by page through the terminal history. Swiping up or down on the right side scrolls line by line through the terminal history.

Advertisement

Advertisement

Caveats to Using ConnectBot

ConnectBot is not designed to work in landscape mode -- the keyboard, in that instance, occupies the entire screen.

Security is a concern. ConnectBot does not close until you fully log out of a session. Pressing the "Home" key on a phone that's not locked via password or pin number could leave your ConnectBot sessions vulnerable. To avoid this potential trouble, use ConnectBot on a locked phone and use the "Back" button to fully end your session before exiting the program. Finally, ensure that you're on an encrypted wireless signal, particularly if you use standard, unencrypted Telnet instead of SSH.

Advertisement

Advertisement

references & resources

Report an Issue

screenshot of the current page

Screenshot loading...