Copy Link
Add to Bookmark
Report

NULL mag Issue 09 30 zssh terminal tip

eZine's profile picture
Published in 
null magazine
 · 3 years ago

zssh is another cool way to visit BBSes. it uses SSH, it uses ZMODEM... that's it... you don't need anything else :)

if you don't know about it, visit its webpage at: http://zssh.sourceforge.net/

the cool thing is that you can use it in various ways and do stuff on remote machines. the only thing is that to use it in a script, you have to pass a password for the connection, which is not a straight forward thing.

but shinobi, found a way... :) using the EXPECT scripting lang. you can provide zssh with the password, via the script instantly, with out the need to type it yourself.

use the following script to test it and add it to your own scripts.

#!/usr/bin/expect -f 
spawn zssh sysop@bbs.inter.net
expect "assword:"
send "mightysysoppass\r"
interact

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT