Solved

How to upload to my smoothwall [n00b instructions]

Posted on 2004-09-10
3
1,628 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
ID: 12034254
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
ID: 12034963
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
ID: 12037021
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 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