Solved

How to upload to my smoothwall [n00b instructions]

Posted on 2004-09-10
3
1,608 Views
Last Modified: 2008-02-01
Hey all ... linux n00b ...

Got smoothwall installed & running & patched ... can connect to it with SSH using putty on my XP pro box ... need to know how to upload a tarball to it using SSH, to apply a mod.

Instructions are here : http://community.smoothwall.org/forum/viewtopic.php?t=8449

What I need help with, is this part :
--------------------------------------------------
5 - HOWTO install Bandwidth Bar 1.0
**Backup the files listed above as this mod will modify them.

Grab the following: Bandwidth-Bar-1.0.tgz. Upload it to your SmoothWall (using sftp on SmoothWall's ssh port 222) and place in the /tmp directory. To extract the files, login to your SmoothWall (ssh on SmoothWall uses port 222 for those that do not know), change to the /tmp dir and, execute the command:
Code:
tar zxvf ./Bandwidth-Bar-1.0.tgz -C /
--------------------------------------------------

Not sure how to upload it to my smoothwall using sftp on smoothwall's ssh port 222, and place it int he /tmp directory.

Step by step please - much appreciated.
0
Comment
Question by:Gitcho
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
e-tsik earned 500 total points
Comment Utility
Hi :-)

You have two options.

1. pscp

If you have installed PuTTY from the setup package, then the directory to which you installed it (usually C:\Program Files\PuTTY) should contain a program called pscp. The command should go as follows:
cd c:\program files\putty
pscp -l root -P 222 c:\path\to\Bandwidth-Bar-1.0.tgz <your smoothwall>:/tmp/

Replace
c:\program files\putty with your real path to putty (c:\program files\putty is the default)
c:\path\to\Bandwidth-Bar-1.0.tgz with the real local path
<your smoothwall> with the ip address of your smoothwall server

Example
pscp -l root -P 222 c:\temp\Bandwidth-Bar-1.0.tgz 10.0.0.1:/tmp/

2. WinSCP

WinSCP is a nice GUI interface to scp. Download it from:
http://winscp.sourceforge.net/eng/download.php#download2
(feeling lazy?) http://winscp.sourceforge.net/download2.php?file=winscp368setup.exe

This will allow you to create a session that connects to port 222 of your smoothwall and copy the file just as you do with any explorer window.

Enjoy!
0
 
LVL 5

Author Comment

by:Gitcho
Comment Utility
Awesome... thx ...

Got it working with WinSCP, but I should really be learning command line ... got a link for the full Win32 Putty install ?
0
 
LVL 9

Expert Comment

by:e-tsik
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now