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
Solved

How to upload to my smoothwall [n00b instructions]

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

791 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