Solved

How to upload to my smoothwall [n00b instructions]

Posted on 2004-09-10
3
1,635 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apache module 5 84
Linux 3 59
Logrotate Every Saturday 5 43
How to check if the Cron job is running or not ? 12 79
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

737 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