How to Configure Tera Term for SSH and Serial Connections
Serial Connection
- Open Tera Term.
- In the “New connection” dialog select the Serial tab and pick the correct COM port (e.g., COM3).
- Click OK.
- Configure serial parameters: Setup → Serial port.
- Baud rate: (e.g., 115200)
- Data: 8
- Parity: None
- Stop: 1
- Flow control: None or hardware (RTS/CTS) if required
- Optionally set terminal emulation: Setup → Terminal → select VT100/VT220 or ANSI, set newline options.
- Save settings: Setup → Save setup to save to ttermpro.ini for next sessions.
SSH Connection
- Open Tera Term.
- In the “New connection” dialog select the TCP/IP tab and enter the host name or IP, then click OK.
- In the authentication dialog choose SSH and confirm host key when prompted.
- Enter username and password when requested.
- For key-based auth: Setup → SSH Forwarding / Setup → SSH Key to specify private key file (PPK format supported via PuTTY-agent or Pageant).
- Adjust terminal settings: Setup → Terminal for emulation and character encoding (UTF-8 if needed).
File Transfer (optional)
- Use File → Transfer → ZMODEM / XMODEM / Kermit or use SCP/SFTP via SSH if available (requires appropriate server support or external tools).
Automation & Macros
- Create macros (.ttl) to automate login and sequences: Control → Macro or run from File → New macro.
- Example commands: connect, sendln, wait, recvln.
Troubleshooting Tips
- Verify correct COM port in Device Manager (Windows).
- Check baud and parity match the device.
- Disable other apps using the same COM port.
- For SSH, confirm network access and host key fingerprint.
- Use logging: File → Log to capture session for diagnosis.
If you want, I can produce a ready-to-use Tera Term macro for automating login over serial or SSH—tell me which and provide the connection details (host/IP or COM port and baud).
Leave a Reply