?
Solved

How to upload to my smoothwall [n00b instructions]

Posted on 2004-09-10
3
Medium Priority
?
1,658 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
e-tsik earned 2000 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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
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
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 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