PricesClassesSignupClients SitesDesignAbout UsFun Stuff
Help Me!

SSH and Pine
Host name: shell.bway.net or ida.bway.net
SSH Intro
SSH Resources
Logging on to the shell server
Pine Intro
Sending Mail
Reading and Deleting Mail
Setting Mail Filters
Quitting Pine
SSH

SSH is a program which allows you to simulate a secure, private, direct, terminal style connection, to another computer over the Internet. In other words, you can tell that computer to create, edit, execute and delete files just as if you were sitting at that computer. The computer which SSH connects you to is called the Host machine or Server. The SSH program which you use to connect to the Host is called the Client.

When SSH first connects to another machine, you will normally be presented with that machine's log in screen. Therefore, in order to succesfully connect with another computer on the internet using SSH, you must have a valid username and password on the machine you wish to connect with.

Telnet

Telnet is deprecated, insecure and unsafe. Avoid it at all costs if you value the privacy and security of your shell/email/web accounts!

Some basic unix commands:

logout - use this command to exit the system
man - use the command (man command) to learn about a command
pine - Program for Internet News & Email - is a tool for reading, sending, and managing electronic messages.
rm - remove a file or directory
ls - list files
cp - copy a file
mv - move a file (destroys original)
less - view a text file
touch - create an empty file
chmod - changes permissions for a file or directory
cd - change directory
pwd - print working directory (the directory you are in)
rmdir - remove directory (the directory must be empty)
mkdir - make a new directory
ping - check to make sure a remote machine is reachable
Windows SSH Resourses:

PuTTY is a free ssh client: PuTTY Home.
A list of free ssh clients for windows.



Macintosh SSH Resourses:

An SSH client is built-in to Mac OS-X. Open a Terminal Window (/Applications/Utilities/Terminal) and type "ssh shell.bway.net".

An alternate Terminal that can use SSH is iTerm



Other SSH Resources A list of other SSH clients for multiple operating systems is here.

Almost all variants of Unix now include an ssh client as well.
Logging on to the SSH server

Once you connect with ssh you will see an authentication prompt that looks like:

gee5:~ spork$ ssh username@shell.bway.net

Password: [type your password here] (Note: characters won't be visible as you type your password.)

Then you will see the greeting from our server:

************************************************************************




                              bway.net




************************************************************************ 

ida:~$

After entering your username (either set in your ssh application or via the ssh command) and password you should connect and get the prompt ida:~$. This is the command line prompt, and lets you know that the server is ready for your commands.

Pine

A simple telnet connection is sometimes the most convenient and fastest way to send and receive your mail. Telnet is useful for reading email on about any networked machine. This document is intended to help you become more comfortable with telnet clients and with Pine, the UNIX-based e-mail program.

Note: 1. When reading your local mail it is important that you delete your mail when finished. If your inbox has become very large and you need to delete your mail read the section on how to delete your mail. 2. When using unix, commands are case sensitive. To be on the safe side always stick to lowercase letters.

Type pine at the command prompt. If this is the first time using pine you will get a screen telling you it is the first time using pine and you will be asked several questions. Hit y for all of them. Once pine is loaded you will get a screen with the options:

? HELP - Get help using Pine
C COMPOSE MESSAGE - Compose and send a message
I FOLDER INDEX - View message in current folder
L FOLDER LIST - Select a folder to view
A ADDRESS BOOK - Update address book
S SETUP - Configure or update Pine
Q QUIT - Exit the Pine program

This screen is called the main menu. Most of the time you can get to this screen by hitting m.


Sending Mail

To send mail hit c for compose. You will get a screen that looks like:


To:
Cc:
Attchmnt:
Subject:
----- Message Text -----

Next to To: and Cc: you can enter the names of the people you want to send messages to.

Attchmnt: can be used to send a file in your local directory to someone by typing in the name of the file. Note: When sending mail through telnet files have to be on the machine you telnet into, and files on your personal machine have to be uploaded onto the server to be sent through pine.

Next to Subject: you can put the name of the subject you want to send and under Message Text you can write your message.

When you are done writing your message hit control-x and your message will be sent.


Reading and Deleting Mail

To read your mail hit i for index. You will see a list of your messages:



  N  1 Feb  7 Jason Priestly   (367)  happy groundhog day!                                   
  N  2 Feb  7 info@bway.net    (319)  Hello                             
  N  3 Feb  8 dt@fiddle.com    (324)  can I borrow an E string? 

Select the number of the message you want to read using the up/down arrow keys. Now you should see your message:


From: Jason Priestly < jp@priestly.org > 

To: userid < USERID@BWAY.NET >

Subject: file included

Parts/attachments:

   1 Shown  14 lines  Text

   2        27 KB     File "90210.exe", ""

----------------------------------------



   Try running this program I find it useful.



  Sincerely,

  JasePriest




The text part of your message will appear on the screen and another part will display which attachments are attached. To view your attachments hit v for view. The attachment screen will show up.


1   14 lines   Text

2 27 KB File "90210.exe", ""


Select the attachment you want to view, and it will place it on the screen if it is text. If it is not text it will ask you if you want to save it to your local directory. Hitting y will allow you to save the file. Once you have viewed your attachments hit e to exit the viewer. Going back to the message hit e if you want to save the message to your home directory. Next hit d to delete the message and save disk space in your mailbox. Hitting i will return you to your list of messages where you can read the rest of them.


Setting Mail Filters

What are filters? Filters let you block (filter out) unwanted emails, commonly known as spam. For instance, if you keep getting unsolicited emails from somebody@aol.com you could set Pine to filter out those messages.

From Pine's Main Menu (press m), goto Setup (s), then Rules (r), then Filters (f). Press a to add, or return to modify an existing filter profile. This will bring you to a group of options to set up your filters. Go to the pattern you want to set (for this case we would make the sender pattern equal somebody@aol.com). After you make the changes, press e to exit. Pine will prompt you to save the changes, press y to accept them and you're done!


Quitting Pine

Once you have finished reading all your email hit q for quit. Answer y to quit pine and delete marked messages. You will be returned to the command prompt. Files saved to your local directory can now be transferred to your machine using an FTP program. After the file is transferred onto your machine type rm filename. To delete the binary file from your account. Type exit if you want to exit telnet, or feel free to explore.

Related Topics:  
.forward & .plan files
HtAccess


w w w . b w a y . n e t
568 Broadway, Suite 404 .. New York City, 10012 .. tel 212.982.9800 .. fax 646.290.8317
info@bway.net