REMOTE TEST LAB
$ python chatserver.py Chat server started on port 5000 Chat Client. Now lets code the chat client that will connect to the above chat server. The client is based on the telnet program in python. It connects to a remote server, sends messages and receives messages. The chat client does the following 2 things: 1.
The Remote Test Lab enables you to remotely access a real device over the internet.
Using the Remote Test Lab service, you can test your applications on a real device.
Using the Remote Test Lab service, you can test your applications on a real device.
Visit if you are looking for devices released for China.
FEATURED DEVICES
SYSTEM REQUIREMENTS
Modern web browser: Firefox v2+, Internet Explorer v7+, Opera v9.6+, Chrome 7+ or Safari v3+
JavaScript must be enabled in your browser
Java Runtime Environment* 7 or 8 with Java Web Start
Network port 2600 needs to be available
*Make sure to use public version if you have not purchased Oracle Java SE subscription.
ssh-chat is a cross-platform command line utility written in GoLang, which enables you to chat securely with a relatively small number of users over an ssh connection. It is specially designed to convert your SSH server into chat service. Once you launch it, you’ll get a chat prompt rather than a usual shell.
ssh-chat Features
- Enables users to chat in a room via ssh.
- Supports for private messaging between users.
- Supports for color theme customization if supported by your ssh client.
- It can examine any user’s public key fingerprint for identification reasons.
- Enables users to set a nickname.
- Support for whitelisting/blocking users as well as kicking users.
- Supports for listing of all connected users.
In this article, we will explain how to easily setup and use ssh-chat on Linux system to chat with other users on same server.
Requirements:
As I said, ssh-chat is written in GoLang, so if you don’t have GoLang installed on your system, follow this guide to install it.
Installing ssh-chat in Linux Systems
Start by downloading the latest version of ssh-chat from its release page and extract the tar file and move into the package directory to run it as shown.
Now your team members can connect to it using the ssh command, and start chatting in a straightforward chat room via a secure shell connection.
To demonstrate how it all works, we will use a ssh-chat server with IP: 192.168.56.10 and three users (root, tecmint and aaronkilik) connected over ssh to this the server as shown below.
Important: You’ll notice that all the three users are not entering any passwords while connecting to the server, this is because we have setup passwordless login for ssh connections. This is the recommended method of authentication for ssh connections in Linux.
SSH User Logins without Passwords
While connected to the server over ssh, all the above system users can join the chat room using ssh command like this (they must use the port which the chat server is listening on):
To view all chat prompt commands, a user should type the
/help
command.SSH Chat Help
![Microsoft remote server Microsoft remote server](/uploads/1/2/6/5/126509926/569007576.png)
To send a private message, for instance; if user tecmint wants to send a secret message to aaronkilik, he/she would need to use the
/msg
command as follows.You’ll notice that root doesn’t view the above messages as shown below.
To view a users information, use the
/whois
command like this.To view all connected users in the chat room, use the
/names
command as follows.There are several options to use with ssh-chat before starting the server. To set a message of the day file, use the
--motd
option like this.To define a chat log file, use the
--log
option as below.![Samsung Samsung](/uploads/1/2/6/5/126509926/419489719.png)
You can optionally test with the developers server.
Finally, to view all server usage options, type:
ssh-chat Github Repository: https://github.com/shazow/ssh-chat
Don’t forget to check out:
ssh-chat is a really simple and easy-to-use secure chat service for Linux users. Do you have any thoughts to share? If yes, then use the feedback form below.