<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>sftp &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/sftp/</link>
	<description>Feed of posts on WordPress.com tagged "sftp"</description>
	<pubDate>Sat, 26 Dec 2009 07:13:30 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Fugu: A GUI SFTP/SCP tool for OS/X]]></title>
<link>http://pythonnewbie.wordpress.com/2009/12/22/fugu-a-gui-sftpscp-tool-for-osx/</link>
<pubDate>Tue, 22 Dec 2009 03:09:35 +0000</pubDate>
<dc:creator>Raja Ramanathan</dc:creator>
<guid>http://pythonnewbie.wordpress.com/2009/12/22/fugu-a-gui-sftpscp-tool-for-osx/</guid>
<description><![CDATA[Fugu: A very good open source (Free BSD) GUI tool to do file transfer securely. It makes life easy w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a title="Fugu" href="http://rsug.itd.umich.edu/software/fugu/" target="_blank"><strong>Fugu</strong></a>: A very good open source (Free BSD) GUI tool to do file transfer securely. It makes life easy when you do some one time things over doing it via command line.</p>
<p>You don&#8217;t really need this if you are very comfortable with the OS/X built-in command line tool: sftp.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[From Cloud Data Loading to Synchronization]]></title>
<link>http://cloudintegration.wordpress.com/2009/12/17/from-cloud-data-loading-to-synchronization/</link>
<pubDate>Thu, 17 Dec 2009 20:15:20 +0000</pubDate>
<dc:creator>dcunni</dc:creator>
<guid>http://cloudintegration.wordpress.com/2009/12/17/from-cloud-data-loading-to-synchronization/</guid>
<description><![CDATA[The Informatica Cloud Data Loader Service was recognized by Salesforce.com in 2008 as the number one]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="_mcePaste">The Informatica Cloud Data Loader Service was <a title="Salesforce Recognizes Informatica Cloud" href="http://informaticaondemand.com/news/press-releases/111-salesforce-customers-name-informatica-on-demand-data-loader-best-data-integration-tool.html" target="_blank">recognized by Salesforce.com in 2008</a> as the number one integration application on the AppExchange. In 2009 it has become the <a title="AppExchange Free Apps" href="http://sites.force.com/appexchange/home?alm=free&#38;at=1&#38;sortBy=6" target="_blank">most popular </a><strong><a title="AppExchange Free Apps" href="http://sites.force.com/appexchange/home?alm=free&#38;at=1&#38;sortBy=6" target="_blank">*free*</a></strong><a title="AppExchange Free Apps" href="http://sites.force.com/appexchange/home?alm=free&#38;at=1&#38;sortBy=6" target="_blank"> application</a> (followed by Salesforce for Twitter) and the <a title="Salesforce Admin Feedback Data Loader" href="http://cloudintegration.wordpress.com/2009/12/16/salesforce-administrators-praise-the-data-loader-service/" target="_blank">feedback</a> has been truly amazing.</div>
<div>The Data Loader Service is designed to automate basic loading and extraction of data between Salesforce.com, flat files, and relational databases on a daily basis. But the Informatica Cloud Data Loader Service is just the first step towards secure, powerful, and complete data integration as a service.</div>
<div>The next step, you ask?</div>
<div><a title="Informatica Cloud Data Synchronization Service" href="http://sites.force.com/appexchange/listingDetail?listingId=a0N300000016cWBEAY&#38;ac=reviewTabLink" target="_blank"><strong>The Informatica Cloud Data Synchronization Service</strong></a>. The industry’s only true enterprise-class software as a service integration solution, the Data Synchronization Service is designed for non-technical users to set-up, manage, and monitor bi-directional integration tasks. Primary <a title="Cloud Integration Use Cases" href="http://cloudintegration.wordpress.com/2009/12/08/cloud-integration-use-cases/" target="_self">use cases</a> for the Data Synchronization Service include:</div>
<div>
<ul>
<li><strong>ERP Synchronization</strong>:  Opportunity-to-Order &#38; Customer Master Synch (SAP, Oracle); Quoting Integration, etc.</li>
<li><strong>CRM Integration</strong>:  Cases, Leads, Campaigns; Territory Management; Price Book &#38; Product; Custom Objects, etc.</li>
<li><strong>Business / IT Alignment:</strong> Business self-service to trusted information; IT avoids proliferation of point solutions.</li>
</ul>
</div>
<div id="_mcePaste">This is a first in a series of posts that outline some of the key reasons that Salesforce customers continue to upgrade (in just a couple of clicks) from the Data Loader Service to the Informatica Cloud Data Synchronization Service. Here&#8217;s a brief demonstration of integrating secure FTP files with Salesforce using the Informatica Cloud:</div>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/hrZKa9ZpOIM&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/hrZKa9ZpOIM&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[De bästa gratisprogrammen (10)]]></title>
<link>http://ubuntufranborjan.wordpress.com/2009/11/16/de-basta-gratisprogrammen-10/</link>
<pubDate>Mon, 16 Nov 2009 19:04:32 +0000</pubDate>
<dc:creator>urbananjar</dc:creator>
<guid>http://ubuntufranborjan.wordpress.com/2009/11/16/de-basta-gratisprogrammen-10/</guid>
<description><![CDATA[Vi höll ju en omröstning om de bästa gratisprogrammen och nu är det dags att börja presentera tio i ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Vi höll ju en omröstning om de bästa gratisprogrammen och nu är det dags att börja presentera <strong>tio i topp</strong>. Givetvis är det här en högst ovetenskaplig lista och jag räknar med att ta upp det här temat igen, så de som inte fick med sina favoriter på listan eller ens hann med att nominera behöver inte hänga läpp. Nog snackat!</p>
<p><img class="alignleft size-full wp-image-137" title="fz-logo" src="http://ubuntufranborjan.wordpress.com/files/2009/11/fz-logo.png" alt="fz-logo" width="420" height="69" /> Tiondeplatsen tog <strong>FileZilla</strong>, som är ett filöverföringsprogram som hanterar FTP, SFTP och FTPS. Programmet finns i Ubuntus programcentral, men finns också till Windows och Mac.</p>
<p>Min bedömning är att det här är ett bra alternativ för er som behöver ett filöverföringsprogram, till exempel om man har en webbsajt som man måste ladda upp filer till, men det är inte ett program som alla behöver.</p>
<p>Du hittar FileZilla på <a href="http://filezilla-project.org/">http://filezilla-project.org/</a></p>
<p style="padding-left:30px;"><span style="color:#888888;">Läs även andra bloggares åsikter om <a rel="tag" href="http://bloggar.se/om/Gratisprogram">Gratisprogram</a>, <a rel="tag" href="http://bloggar.se/om/fri+mjukvara">fri mjukvara</a>, <a rel="tag" href="http://bloggar.se/om/%F6ppen+k%E4llkod">öppen källkod</a>, <a rel="tag" href="http://bloggar.se/om/fil%F6verf%F6ring">filöverföring</a>, <a rel="tag" href="http://bloggar.se/om/ftp">ftp</a>, <a rel="tag" href="http://bloggar.se/om/sftp">sftp</a>, <a rel="tag" href="http://bloggar.se/om/ftps">ftps</a>, <a rel="tag" href="http://bloggar.se/om/ladda+upp">ladda upp</a>, <a rel="tag" href="http://bloggar.se/om/ladda+ner">ladda ner</a></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hướng dẫn sử dụng WinSCP]]></title>
<link>http://dvdenglish.wordpress.com/2009/11/15/h%c6%b0%e1%bb%9bng-d%e1%ba%abn-s%e1%bb%ad-d%e1%bb%a5ng-winscp/</link>
<pubDate>Sun, 15 Nov 2009 08:55:34 +0000</pubDate>
<dc:creator>thai230293</dc:creator>
<guid>http://dvdenglish.wordpress.com/2009/11/15/h%c6%b0%e1%bb%9bng-d%e1%ba%abn-s%e1%bb%ad-d%e1%bb%a5ng-winscp/</guid>
<description><![CDATA[WinSCP là 1 tiện ích SFTP, FTP client miễn phí, mã nguồn mở dành cho hệ điều hành Windows. Nó sẽ giú]]></description>
<content:encoded><![CDATA[WinSCP là 1 tiện ích SFTP, FTP client miễn phí, mã nguồn mở dành cho hệ điều hành Windows. Nó sẽ giú]]></content:encoded>
</item>
<item>
<title><![CDATA[FileZilla 3.3.0]]></title>
<link>http://winexperience.wordpress.com/2009/11/11/filezilla-3-3-0/</link>
<pubDate>Wed, 11 Nov 2009 02:32:51 +0000</pubDate>
<dc:creator>Ricardo Luis</dc:creator>
<guid>http://winexperience.wordpress.com/2009/11/11/filezilla-3-3-0/</guid>
<description><![CDATA[O FileZillla é um cliente FTP, FTPS e SFTP para Windows 2000/2003/XP e Vista e pesa menos de 4 MB. D]]></description>
<content:encoded><![CDATA[O FileZillla é um cliente FTP, FTPS e SFTP para Windows 2000/2003/XP e Vista e pesa menos de 4 MB. D]]></content:encoded>
</item>
<item>
<title><![CDATA[Windows Server 2003′e Veda (II)]]></title>
<link>http://alkankoray.wordpress.com/2009/11/10/windows-server-2003e-veda-ii/</link>
<pubDate>Tue, 10 Nov 2009 00:01:09 +0000</pubDate>
<dc:creator>Koray</dc:creator>
<guid>http://alkankoray.wordpress.com/2009/11/10/windows-server-2003e-veda-ii/</guid>
<description><![CDATA[Ubuntu Server 9.10 kurmus olmamdan henuz 1 hafta bile gecmemis olmasina ragmen bu sure zarfinda sist]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Ubuntu Server 9.10</strong> kurmus olmamdan henuz 1 hafta bile gecmemis olmasina ragmen bu sure zarfinda sisteme <strong>3 kez</strong> format attim, Mac&#8217;e <strong>VMware</strong> uzerinde Ubuntu kurdum, <strong>CentOS</strong> kurulumu denedim, Ubuntu&#8217;yu iki kez daha kurdum. Anlasilan FTP sorunu bir dizi problemin sadece bir baslangiciymis!</p>
<p>Internet en buyuk yardimcim oldu bu surecte ve sonunda mukemmele yakin calisan bir sisteme kavustum. 1 gun boyunca test server&#8217;i uzerinden yayin dahi yaptim. Iste simdilik karsilastigim sorunlar ve workaround&#8217;lari:</p>
<p><strong>→ Apache Virtual Host Problemi<img class="alignleft size-full wp-image-140" title="koray-server3" src="http://alkankoray.wordpress.com/files/2009/11/screen-shot-2009-11-10-at-1-59-04-am.png" alt="koray-server3" width="331" height="172" /><br />
</strong></p>
<p>Ubuntu&#8217;yu toplamda 3 kez kurmamin ana nedeni aslinda buydu. Bircok web sitesini ayni server&#8217;da tek IP uzerinde barindirdigim icin Apache&#8217;nin <strong>virtual host</strong> ozelligini kullanmam gerekti. IIS&#8217;te bunun icin ek hicbir islem yapmama gerek yokken Apache icin bir konfigurasyonlar dizisini modifiye etmem gerekiyordu. Ancak internetten buldugum ve Ubuntu Server 9.10 icin olan hicbir tutorial isime yaramadi. Her defasinda Apache coktu ve her seye bastan baslamam gerekti.</p>
<p>En son kurulumumda <strong>Webmin</strong> modulunu yukledim ve tum islemleri, kurulan bir web arayuzu araciligi ile yaptim. Baslarda bu bile sorunlara neden oldu ki ornegin bircok virtual host tanimlamama ragmen a.com b.com c.com, adrese ne yazarsaniz yazin hep ayni siteye yonlendiriyordu Apache kendiliginden. Bunun ise basit bir <strong>Port hatasi</strong> oldugunu gordum, Virtual Host yaratirken Port belirtmediginiz taktirde Apache en son kurulan virtual host&#8217;a yonlendiriyor adres ne olursa olsun. Sanirim bir tur <strong>Bug</strong>.</p>
<hr /><strong>→ FTP problemi</strong></p>
<p>&#160;</p>
<p>Linux icin olan bircok FTP programini denedim, bunlara VSFTPD, SFTP, VFTPD ve PURE-FTPD dahil. Pure-FTPD haric hepsinde yine <strong>Virtual User</strong> yaratma sorunu ile karsilastim. Ardindan Pure-FTPD haric hepsinde kullanici yaratabildim ancak bu sefer de login bilgilerini degistiremedim.</p>
<p><strong>Pure-FTPD</strong> kurulumu sorunsuz gecti, istedigim kadar user olusturup kisisel ayarlarini degistirebiliyorum. Yalniz dun aksam 2 saatligine anlam veremedigim bir sorunla karsilastim: Gerek network icerisinden gerekse disaridan baglanti kuramiyordum. <em><span style="color:#993300;">425, Sorry Wrong Address</span></em> hatasi aliyordum devamli. Gizemli bir sekilde birkac kez remove &#38; reinstall isleminden sonra bu sorun da cozuldu.</p>
<hr /><strong>→ Mail Problemi</strong></p>
<p>&#160;</p>
<p>En onemli problemlerden birisi: PHP ile mail gondermek. IIS&#8217;te bir turlu ustesinden gelemedigim problemdi. Ne yaparsam yapayim, ne kendi server&#8217;imdan ne de baska bir <strong>SMTP server</strong>&#8216;dan email gonderemiyordum. Linux&#8217;ta yine boyle bir sorunla karsilasmaktan korkuyordum. Ancak <strong>PHP PEAR</strong> ile <strong>Google Apps</strong>&#8216;deki hesabimdan SMTP ile mail gondermeyi basardim. Local olarak kendi SMTP server&#8217;imdan gondermeye vakit ayirir miyim bilmiyorum, onceki deneyimlerimden dolayi IP adresimin <strong>whitelist</strong>&#8216;te olmamasindan dolayi bircok mailbox&#8217;a SPAM olarak gittigini biliyorum.</p>
<hr />Simdilik karsima cikan problemler ve uyguladigim workaround&#8217;lar bunlar. Sanirim cok kisa bir sure icerisinde altyapimi tamamen Linux&#8217;a tasimis olacagim.</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux, IBM: WebSphere WAS and Partner Gateway Version 6.2 FixPack 1]]></title>
<link>http://blog.colovirt.com/2009/11/03/linux-ibm-websphere-was-and-partner-gateway-version-6-2-fixpack-1/</link>
<pubDate>Tue, 03 Nov 2009 19:28:42 +0000</pubDate>
<dc:creator>Kevin Goodman</dc:creator>
<guid>http://blog.colovirt.com/2009/11/03/linux-ibm-websphere-was-and-partner-gateway-version-6-2-fixpack-1/</guid>
<description><![CDATA[This is just a brief overview. The installation process is pretty easy on these. Same as with most p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is just a brief overview.  The installation process is pretty easy on these.  Same as with most patches, IBM UpdateInstaller &#8220;update.sh&#8221; was used to install the service &#8220;pak&#8221; files.  These patches must be done in order.  Patch the WAS installation before patching WPG.</p>
<p><strong>All WebSphere services must be stopped to install the WAS updates.  On a standard installation, bcguser must be used to stop the service</strong></p>
<pre>[bcguser@WPGhost ~]$/opt/IBM/bcghub-simple/bin/./bcgStopServer.sh</pre>
<p>We do not use &#8216;/opt&#8217; for our WebSphere location, so change this if yours is different.</p>
<p><strong>Next, use Update Installer to patch the WebSphere Application Server</strong><br />
<!--more-->[user@WPGhost ~]$ sudo /opt/IBM/WebSphere/UpdateInstaller/./update.sh</p>
<p>There is a <strong>gotcha</strong> here that had me<strong> &#8220;chasing my tail&#8221;</strong> for about 10 minutes.  When going to install the WebSphere Partner Gateway fix pack, the Partner Gateway and WAS server must be started.  Installation of the update will fail with error &#8220;user input validation&#8221;.</p>
<p><strong>So before installing the WPG update, re-launch the Application Server and Partner Gateway</strong></p>
<pre>[bcguser@WPGhost ~]$ /opt/IBM/bcghub-simple/bin/./bcgStartServer.sh</pre>
<p><strong>Once done, launch IBM Update Installer again, passing the customized responce file for your environment.  This needs to be executed as the root user, so sudo was used to allow xforwarding from a non-root account</strong></p>
<pre>[user@WPGhost ~]$ sudo /opt/IBM/WebSphere/UpdateInstaller/./update.sh -options /opt/IBM/bcghub-simple/responsefiles/bcgupdate_en_US.txt</pre>
<p>Those are my miscellaneous notes about the update installation.  Everything went fine here and I hope this fixes some of the SFTP issues we have been having.<br />
<strong>This brings the WebSphere Partner Gateway Console form version 6.2.0.0.273 to 6.2.0.1.333</strong></p>
<p><strong>Notes: Here is the <a href="http://www-01.ibm.com/support/docview.wss?uid=swg27016776" target="_blank">link to IBM&#8217;s website</a> that lists the fixes that are provided in the update.</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Create vsftpd FTP accounts on Linux]]></title>
<link>http://jadendreamer.wordpress.com/2009/10/21/create-vsftpd-ftp-accounts-on-linux/</link>
<pubDate>Wed, 21 Oct 2009 18:33:30 +0000</pubDate>
<dc:creator>Jade</dc:creator>
<guid>http://jadendreamer.wordpress.com/2009/10/21/create-vsftpd-ftp-accounts-on-linux/</guid>
<description><![CDATA[You&#8217;ll need to be logged in as a admin user otherwise you&#8217;ll need to use su or sudo in f]]></description>
<content:encoded><![CDATA[You&#8217;ll need to be logged in as a admin user otherwise you&#8217;ll need to use su or sudo in f]]></content:encoded>
</item>
<item>
<title><![CDATA[Cybersecurity Awareness]]></title>
<link>http://southrivertech.wordpress.com/2009/10/20/cybersecurity-awareness/</link>
<pubDate>Tue, 20 Oct 2009 14:52:09 +0000</pubDate>
<dc:creator>Jodi de la Paz</dc:creator>
<guid>http://southrivertech.wordpress.com/2009/10/20/cybersecurity-awareness/</guid>
<description><![CDATA[ October is National Cybersecurity Awareness Month.  The website StaySafeOnline.org encourages you t]]></description>
<content:encoded><![CDATA[ October is National Cybersecurity Awareness Month.  The website StaySafeOnline.org encourages you t]]></content:encoded>
</item>
<item>
<title><![CDATA[Automatiser les accès FTP,SFTP,SSH, ... avec python pexpect]]></title>
<link>http://randrianiriana.wordpress.com/2009/10/16/automatiser-les-acces-ftp-sftp-ssh-avec-python-pexpect/</link>
<pubDate>Fri, 16 Oct 2009 04:53:07 +0000</pubDate>
<dc:creator>Thierry</dc:creator>
<guid>http://randrianiriana.wordpress.com/2009/10/16/automatiser-les-acces-ftp-sftp-ssh-avec-python-pexpect/</guid>
<description><![CDATA[Voici un des moyens d&#8217;automatiser le téléchargement avec FTP,SFTP ou le lancement d&#8217;une ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Voici un des moyens d&#8217;automatiser le téléchargement avec FTP,SFTP ou le lancement d&#8217;une commande avec ssh ou telnet, dans l&#8217;exemple, j&#8217;utilise le module <a href="http://pexpect.sourceforge.net/pexpect.html" target="_blank">python pexpect</a> qui se connecter sur un serveur SFTP puis telecharge des fichiers. Pour ssh on peut utiliser le système de clés mais pour FTP, telnet ce n&#8217;est pas possible et si vous n&#8217;etes pas aussi l&#8217;admin du serveur distant.</p>
<p>Voici de code, évidemment il faut installer les paquets openssh-client et python-pexpect si vous utilisez ubuntu ou debian</p>
<p><code><br />
#!/usr/bin/env python</code></p>
<p>import pexpect</p>
<p>p=pexpect.spawn(&#8217;sftp -C -R 128 thierry@113.231.167.<em>XXX</em>&#8216;)<br />
p.expect(&#8220;thierry@113.231.167.<em>XXX</em>&#8217;s password: &#8220;)<br />
p.sendline(&#8216;MyVerySecurePassword&#8217;)<br />
p.expect(&#8217;sftp&#62; &#8216;)<br />
p.sendline(&#8216;get foo.bar /home/thierry/&#8217;)<br />
p.expect(&#8217;sftp&#62; &#8216;,timeout=None)<br />
p.sendline(&#8216;bye&#8217;)</p>
<p>Ceci est un simple exemple vous pouvez l&#8217;améliorer en ajoutant un expect s&#8217;il demande d&#8217;accepter la clé du serveur &#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Get me out of here!]]></title>
<link>http://netcultures.wordpress.com/2009/10/06/get-me-out-of-here/</link>
<pubDate>Tue, 06 Oct 2009 04:59:18 +0000</pubDate>
<dc:creator>netcultures</dc:creator>
<guid>http://netcultures.wordpress.com/2009/10/06/get-me-out-of-here/</guid>
<description><![CDATA[How to back up or migrate your blog. The internet is not safe. If you have your data on a webhost, a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a title="Amazing Stories February 1952 Classic Vintage Science Fiction Sci Fi Pulp Book by YellowcakeMushroom, on Flickr" href="http://www.flickr.com/photos/35301335@N07/3595025105/"><img src="http://farm4.static.flickr.com/3178/3595025105_53f412d739.jpg" alt="Amazing Stories February 1952 Classic Vintage Science Fiction Sci Fi Pulp Book" width="368" height="500" /></a></p>
<p>How to back up or migrate your blog.</p>
<p>The internet is not safe. If you have your data on a webhost, anywhere, it&#8217;s probably not safe. If you have a security specialist on your team (and none of us here do), then maybe it&#8217;s <em>somewhat</em> safe from malicious attacks, but even then, it&#8217;s still vulnerable to <a href="http://www.datacenterknowledge.com/archives/2009/02/19/magnolia-data-is-gone-for-good/">plain old hardware failure</a> and <a href="http://groups.google.com/group/google-appengine/msg/ba95ded980c8c179">general cockups</a>. And the most vulnerable data of all is the data that is hosted on <a href="http://digg.com/tech_news/Just_Exactly_How_Bad_Does_Dreamhost_Suck_Read_this_to_find_out">bottom-end hosts like Dreamhost</a> where potentially hundreds of other people are sharing disk space and server resources with you, and as with everywhere on the internet, a sizable proportion of them are guaranteed to be some combination of incompetent and malicious. It&#8217;s only a matter of time before one of them accidentally or deliberately brings the server down, accidentally corrupts your files, or breaks in to your filespace and uses it to subsidise their pornography business. It&#8217;s happened to me, more than once. Moreover, as I&#8217;ve said before, if you are using FTP instead of SFTP, it means that you don&#8217;t really care about your data anyway, and pretty much anyone with enough dedication can come along and steal your password and make free with your files if they try hard enough.<!--more--></p>
<p>Everyone needs backups. Backup. Backup all the time. Remember, I can&#8217;t give you extensions if the <a href="http://www.marinij.com/marin/ci_8444654">Ukrainian Pr0n Mafia eats your homework</a>.</p>
<p>Those are the risks &#8211; but here is an clarifying certainty: when the semester is over, this web hosting will be turned off and your files will be deleted. So, quite aside from everything else, if you wish to keep your work, you will need to make at least one backup to get it off Dreamhost at the end of the class.</p>
<p>OK, that&#8217;s the motivation. Now&#8230; how to do this backup thing?</p>
<p>There&#8217;s a few options. Too many, as always. Personally, I store all the files I am working on using <a href="http://github.com/howthebodyworks">github</a>, which keeps a record of every change I make, and is very very powerful. However, that&#8217;s a bit complicated, and it won&#8217;t work easily from UTS computers, so I&#8217;ll leave that one as an exercise for the advanced students.</p>
<p>More easy, you might want to keep all your work <em>off</em>line on your home computer, and only upload it at the last minute. That&#8217;s pretty possible too. You can run web servers on your home machine and just use whatever your normal home backup system is. (you <em>do</em> have a backup system for your home computer, right?) If you want to do that, you might find it easiest to download a preconfigured web server. There&#8217;s a free one for windows called <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a>, and one for Mac called <a href="http://www.mamp.info/en/index.html">MAMP</a>. I certainly do offline development myself, although I don&#8217;t use those preconfigured web server packages, since I don&#8217;t develop on Mac <em>or</em> Windows, but use a nice fresh linux system called <a href="http://www.ubuntu.com/products/WhatIsUbuntu/serveredition">Ubuntu</a> which manages it for me automatically. All three of these systems are quite easy to use, although I should warn you that WordPress makes the uploading to a new server <a href="http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server">a bit fiddly</a>.</p>
<p>But enough broad-brush options. I&#8217;m going to get down to the nitty gritty on the simplest option of all: Backing up over (S)FTP.</p>
<p>If you are uplaover cyberduck, you are already part of the way there. The trick is:remember that when you edit your files on the dreamhost server instead of your local computer, you now have some custom changes which you probably want to keep a copy of.</p>
<div id="attachment_309" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-309" title="do not edit" src="http://netcultures.wordpress.com/files/2009/10/do-not-edit.png" alt="this way lies pain if you ain't careful" width="500" height="289" /><p class="wp-caption-text">this way lies pain if you ain&#39;t careful</p></div>
<p>Same goes for wordpress&#8217;s built-in editor, and its plugin installer. Every time you use that, you are modifying files on the server which leaves them at the whim of Dreamhost. Nothing wrong with that, if you want to see the changes you make take instant effect, but it can be bad if you want to make sure you get to keep that change if something goes wrong.</p>
<p>So the trick to avoid losing stuff here is to use Cyberduck&#8217;s &#8220;Synchronise&#8221; feature, which will synchronise files on your local computer and the server, and keep them as similar as possible. This handy little feature exists on the &#8220;actions&#8221; menu of cyberduck</p>
<div id="attachment_311" class="wp-caption alignnone" style="width: 509px"><img class="size-full wp-image-311" title="cyberduck's sync menu" src="http://netcultures.wordpress.com/files/2009/10/cyberduck-sync-menu.png" alt="Here's your lifesaver" width="499" height="373" /><p class="wp-caption-text">Here&#39;s your lifesaver</p></div>
<p>Once you click on that, you get to choose a local folder on your computer to keep in sync with the server.</p>
<div id="attachment_310" class="wp-caption alignnone" style="width: 509px"><img class="size-full wp-image-310" title="cyberduck's synchronise window" src="http://netcultures.wordpress.com/files/2009/10/picture-9.png" alt="cyberduck's synchronise window" width="499" height="323" /><p class="wp-caption-text">cyberduck&#39;s synchronise window</p></div>
<p>Now, choose whether to do update the server with your local changes (&#8220;upload&#8221;), update your local copy with changes from the server (&#8220;download&#8221;), or both at once (&#8220;mirror&#8221;). Press &#8220;continue&#8221; then wait until it&#8217;s finished. And now you&#8217;ve backed up your files. Hurray!</p>
<div id="attachment_312" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-312" title="cyberduck sync options" src="http://netcultures.wordpress.com/files/2009/10/cyberduck-sync-options.png" alt="so many choices, so little time" width="500" height="356" /><p class="wp-caption-text">so many choices, so little time</p></div>
<p><em>Note that Dreamweaver can also do this. The adventurous among you are welcome to try that, but I&#8217;m not going to show you. Why? Well, for a start, all the staff here use Cyberduck in preference to Dreamweaver. For another, just because dreamweaver can do almost everything doesn&#8217;t mean it can do everything </em>well<em>, and one of the things that annoys me is how incredibly slow its file synchronisation system can be. For a final reason, it doesn&#8217;t hurt to learn how to use a couple of different tools, especially free, open-source ones like Cyberduck.</em></p>
<p>But, are you done here? Well, no. Not unless you are building a site in pure HTML. The thing about WordPress, or joomla, or any of these modern blogs and things is that they store information in a <em>database</em> on the server (in our case, MySQL) which is completely distinct from the <em>files</em> on the server. It&#8217;s a whole other way of storing information, and it&#8217;s completely different to back up. We won&#8217;t be going in to MySQL in detail this semester, but you will need to know at least that it&#8217;s there and how to make copies of the stuff it stores on your behalf. Here goes:</p>
<p>You need to find the admin interface for you database. The easiest way to do this is to log in to the dreamhost control panel and <a href="https://panel.dreamhost.com/index.cgi?tree=goodies.mysql&#38;">go right there.</a></p>
<p><a href="https://panel.dreamhost.com/index.cgi?tree=goodies.mysql&#38;"><img class="alignnone size-full wp-image-314" title="finding the database admin page" src="http://netcultures.wordpress.com/files/2009/10/picture-18.png" alt="finding the database admin page" width="500" height="122" /></a></p>
<p>You&#8217;re looking for the &#8220;web administration&#8221; link, which for all of our databases is though a special web application called &#8220;phpMyAdmin&#8221;.  You can also usually work out how to get there, if you rememebrd your MySQL hostname, by just putting &#8220;mysql&#8221; in front of your site address. So for my site, at http://dan.map-netcultures.net, the databse admin is at http://mysql.dan.map-netcultures.net. It will be different for you, mind.  You&#8217;ll need your database username and password to login, mind. You <em>did</em> write it down, didn&#8217;t you?</p>
<p>That will take you into the convoluted bowels of phpMyAdmin. There&#8217;s lots of buttons here, which you can gleefully ignore. The key thing is to select the database that you are using for your blog (you<em> </em>did write<em> that </em>down, right?) In my case it&#8217;s &#8220;dan123&#8243;.</p>
<p><img class="alignnone size-full wp-image-316" title="The Mysql DB menu" src="http://netcultures.wordpress.com/files/2009/10/mysql-db-menu.png" alt="The Mysql DB menu" width="500" height="299" /></p>
<p>Next, you want to do an &#8220;export&#8221; of that database, which is, predictably, under the &#8220;export&#8221; menu &#8211; the little guy highlighted in red below.</p>
<p><img class="alignnone size-full wp-image-317" title="The MySQL export menu for my database" src="http://netcultures.wordpress.com/files/2009/10/mysql-export-menu.png" alt="The MySQL export menu for my database" width="499" height="476" /></p>
<p>Now, finally, it&#8217;s time to do the deed. The expor menu has terrifyingly many options, most of which you don&#8217;t need. But you do probably want to &#8220;save as a file&#8221; and moreover a &#8220;zipped&#8221; file. Select those options and press the &#8220;go&#8221; button.</p>
<div id="attachment_315" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-315" title="mysql save-as-zipped-file" src="http://netcultures.wordpress.com/files/2009/10/mysqlsaveasfile.png?w=300" alt="The red circle highlights the only controls I suspect you will need unless you are feeling very advanced indeed" width="300" height="250" /><p class="wp-caption-text">The red circle highlights the only controls I suspect you will need unless you are feeling rather advanced indeed</p></div>
<p>Bam! you now have a database backup called something like yourname.sql.zip</p>
<div id="attachment_318" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-318" title="The database backup should appear in your downloads list" src="http://netcultures.wordpress.com/files/2009/10/picture-25.png" alt="Put this somewhere safe" width="500" height="78" /><p class="wp-caption-text">Put this somewhere safe</p></div>
<p>Where this downloads to depends on your browser. the important thing is that you should put it somewhere safe so that you can find it again later. And while we&#8217;re here- you can also restore backups. This is handy if you make a horrible mistake while you are editing your blog and want it to go back the way it was. That part is straightforward if you&#8217;ve gotten this far &#8211; to reload your exported database, you simply &#8220;import&#8221; it:</p>
<div id="attachment_319" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-319" title="importing a database snapshot" src="http://netcultures.wordpress.com/files/2009/10/picture-26.png" alt="The opposite of exporting is importing. If you dump your exported file into the import box, you will get your database restored to the way it was when you exported it." width="500" height="348" /><p class="wp-caption-text">The opposite of exporting is importing. If you dump your exported file into the import box, you will get your database restored to the way it was when you exported it.</p></div>
<p>Too easy. Now, go forth and make radical changes to your blog, secure in the knowledge you can always put it back the way it was.</p>
<h3 id="wordpress-tips">Bonus points &#8211; wordpress-specific tips</h3>
<p>These instructions so far have been completely generic. But if you are using wordpress, you have a couple of extra options, and a couple of extra difficulties.</p>
<p>Firstly, let me re-iterate that full blown wordpress install is a bit fiddly, but the instructions are<br />
<a href="http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server">here</a>. If you&#8217;ve done anything at all complex to your blog, this is the avenue open to you. It&#8217;s pretty well documented, but takes a few minutes.</p>
<p>There&#8217;s also the wordpress-special option of exporting and re-importing your blog. This only works if you haven&#8217;t done any massively self-hosted word-press specific things &#8211; if you haven&#8217;t customised your themes, if you aren&#8217;t embedding custom javascript, and you haven&#8217;t installed any except the wordpress.com preferred plugins. If all those hold true, there is an easy option: Export your blog posts, and import them again later. Instructions are <a href="http://codex.wordpress.org/Tools_Export_SubPanel">here</a>. Two steps. 2 minutes. Easy.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[A Recipe for SFTP]]></title>
<link>http://southrivertech.wordpress.com/2009/10/05/a-recipe-for-sftp/</link>
<pubDate>Mon, 05 Oct 2009 19:44:27 +0000</pubDate>
<dc:creator>tbaker71</dc:creator>
<guid>http://southrivertech.wordpress.com/2009/10/05/a-recipe-for-sftp/</guid>
<description><![CDATA[Ingredients: Server (Select your own hardware; recommend Server class machine) Operating System (rec]]></description>
<content:encoded><![CDATA[Ingredients: Server (Select your own hardware; recommend Server class machine) Operating System (rec]]></content:encoded>
</item>
<item>
<title><![CDATA[The Gold Bug]]></title>
<link>http://southrivertech.wordpress.com/2009/10/05/the-gold-bug/</link>
<pubDate>Mon, 05 Oct 2009 13:53:31 +0000</pubDate>
<dc:creator>B5 Fan</dc:creator>
<guid>http://southrivertech.wordpress.com/2009/10/05/the-gold-bug/</guid>
<description><![CDATA[An article in the Baltimore Sun this week about my cousin, Edgar Allan Poe, rekindled in me a desire]]></description>
<content:encoded><![CDATA[An article in the Baltimore Sun this week about my cousin, Edgar Allan Poe, rekindled in me a desire]]></content:encoded>
</item>
<item>
<title><![CDATA[FileZilla 3.2.8 RC1]]></title>
<link>http://winexperience.wordpress.com/2009/09/27/filezilla-3-2-8-rc1/</link>
<pubDate>Sun, 27 Sep 2009 14:30:58 +0000</pubDate>
<dc:creator>Ricardo Luis</dc:creator>
<guid>http://winexperience.wordpress.com/2009/09/27/filezilla-3-2-8-rc1/</guid>
<description><![CDATA[O FileZillla é um cliente FTP, FTPS e SFTP para Windows 2000/2003/XP e Vista e pesa menos de 4 MB. D]]></description>
<content:encoded><![CDATA[O FileZillla é um cliente FTP, FTPS e SFTP para Windows 2000/2003/XP e Vista e pesa menos de 4 MB. D]]></content:encoded>
</item>
<item>
<title><![CDATA[Got Mac?]]></title>
<link>http://southrivertech.wordpress.com/2009/09/25/got-mac/</link>
<pubDate>Fri, 25 Sep 2009 19:01:54 +0000</pubDate>
<dc:creator>srtbethany</dc:creator>
<guid>http://southrivertech.wordpress.com/2009/09/25/got-mac/</guid>
<description><![CDATA[Hey all you MAC users. How would you like to easily access and transfer files over your FTP, SFTP, F]]></description>
<content:encoded><![CDATA[Hey all you MAC users. How would you like to easily access and transfer files over your FTP, SFTP, F]]></content:encoded>
</item>
<item>
<title><![CDATA[ how to use sftp command with different port]]></title>
<link>http://purab.wordpress.com/2009/09/25/how-to-use-sftp-command-with-different-port/</link>
<pubDate>Fri, 25 Sep 2009 06:10:29 +0000</pubDate>
<dc:creator>Purab</dc:creator>
<guid>http://purab.wordpress.com/2009/09/25/how-to-use-sftp-command-with-different-port/</guid>
<description><![CDATA[I am using the Fedora 9 here for this explaination. I tried to sftp on remote server for port no 220]]></description>
<content:encoded><![CDATA[I am using the Fedora 9 here for this explaination. I tried to sftp on remote server for port no 220]]></content:encoded>
</item>
<item>
<title><![CDATA[Simplifying the Installation of a Multi-seat WebDrive License]]></title>
<link>http://southrivertech.wordpress.com/2009/09/18/simplifying-the-installation-of-a-multi-seat-webdrive-license/</link>
<pubDate>Fri, 18 Sep 2009 14:46:14 +0000</pubDate>
<dc:creator>SRT Channel News</dc:creator>
<guid>http://southrivertech.wordpress.com/2009/09/18/simplifying-the-installation-of-a-multi-seat-webdrive-license/</guid>
<description><![CDATA[A little known feature of WebDrive, is that it can be easily set up for installation on multiple com]]></description>
<content:encoded><![CDATA[A little known feature of WebDrive, is that it can be easily set up for installation on multiple com]]></content:encoded>
</item>
<item>
<title><![CDATA[SFTP (Secure File Transfer Protocol) With Dropbear]]></title>
<link>http://linuxexplore.wordpress.com/2009/09/15/sftp-secure-file-transfer-protocol-with-dropbear/</link>
<pubDate>Tue, 15 Sep 2009 16:50:02 +0000</pubDate>
<dc:creator>Rahul Panwar</dc:creator>
<guid>http://linuxexplore.wordpress.com/2009/09/15/sftp-secure-file-transfer-protocol-with-dropbear/</guid>
<description><![CDATA[Configure Dropbear SSH server SSH server can’t work independently, it require SSH server (like dropb]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h1>Configure Dropbear SSH server</h1>
<p>SSH server can’t work independently, it require SSH server (like dropbear) to run. Dropbear require <strong>libz</strong> &#38; <strong>libcrypto</strong> to run, so please first install them (if not install already). To install the <strong>dropbear SSH server</strong>, follow the steps given below.</p>
<p>-bash-3.2# tar –xvf dropbear-0.52.tar.bz2</p>
<p>-bash-3.2# cd dropbear-0.52</p>
<p>-bash-3.2# ./configure</p>
<p>-bash-3.2# make PROGRAMS=&#8221;dropbear dbclient dropbearkey dropbearconvert scp&#8221;</p>
<p>-bash-3.2# make PROGRAMS=&#8221;dropbear dbclient dropbearkey dropbearconvert scp&#8221; install</p>
<p>It will install the dropbear SSH server. Now you can create the softlink of <strong>dbclient</strong> as <strong>ssh.</strong> It is not mandatory, you can also use <strong>dbclient</strong> instead of <strong>ssh</strong> command.</p>
<p>-bash-3.2# ln –s /usr/local/bin/dbclient /usr/bin/ssh</p>
<p>To start the dropbear SSH server, first create the <strong>dss</strong> &#38; <strong>rsa</strong> keys (for the encryption of SSH packets) in <strong>/etc/dropbear</strong> directory. SSH server does work without encryption, so it is mandatory to create the keys.</p>
<p>-bash-3.2# dropbearkey –t dss –f /etc/dropbear/dropbear_dss_host_key</p>
<p>-bash-3.2# dropbearkey –t rsa –f /etc/dropbear/dropbear_rsa_host_key</p>
<p>Now <strong>dropbear </strong>can<strong> </strong>be started simply by following command.</p>
<p>-bash-3.2# dropbear</p>
<p>If above will done properly you can connect your system via SSH.</p>
<p><a href="http://linuxexplore.wordpress.com/how-tos/sftp-secure-file-transfer-protocol-with-dropbear/" target="_self">View Complete Topic</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Free SFTP, SCP and FTP Client]]></title>
<link>http://aksgeek.wordpress.com/2009/09/11/free-sftp-scp-and-ftp-client/</link>
<pubDate>Fri, 11 Sep 2009 09:30:00 +0000</pubDate>
<dc:creator>Akshat</dc:creator>
<guid>http://aksgeek.wordpress.com/2009/09/11/free-sftp-scp-and-ftp-client/</guid>
<description><![CDATA[&#160;&#160;&#160;&#160; Sometimes you need to be sure that your FTP transfers are not going to get ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><font size="3" face="Georgia">&#160;&#160;&#160;&#160; <img style="display:inline;margin-left:0;margin-right:0;" align="left" src="http://i26.tinypic.com/209m6c7.jpg" width="136" height="106" /> Sometimes you need to be sure that your FTP transfers are not going to get hijacked or intercepted by a third party. Most FTP applications are not designed for secure transfers over SSL which is why <strong>WinSCP</strong> was developed. </font></p>
<p> <!--more-->
<p><font size="3" face="Georgia">&#160;&#160;&#160; The <strong>WinSCP</strong> program (for Windows users) is a great alternative FTP client you should really try out.&#160; It is an open source free SFTP client and FTP client for Windows. Legacy SCP protocol is also supported.Its main function is safe copying of files between a local and a remote computer. </font></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <img src="http://i32.tinypic.com/359e3v8.jpg" width="287" height="208" /> </p>
<p><font size="3" face="Georgia">&#160;&#160;&#160; For starters, WinSCP is not the easiest FTP client to use. Because of the extra security features, it can appear overwhelming at first although it does feature a graphical user interface. It also supports integration with Windows in terms of <em>drag &#38; dropping files</em>, pasting in URL&#8217;s and shortcuts.</font></p>
<p>&#160;&#160;&#160;&#160; <img src="http://i26.tinypic.com/kx3ph.jpg" width="405" height="408" /> </p>
<blockquote><p><font size="3" face="Georgia"><strong><u>More Features:-</u></strong> </font></p>
<ul>
<li><font size="3" face="Georgia"><em>Graphical user interface </em></font></li>
<li><font size="3" face="Georgia"><em>Translated into several languages </em></font></li>
<li><font size="3" face="Georgia"><em>Integration with Windows (drag&#38;drop, URL, shortcut icons) </em></font></li>
<li><font size="3" face="Georgia"><em>U3 support </em></font></li>
<li><font size="3" face="Georgia"><em>All common operations with files </em></font></li>
<li><font size="3" face="Georgia"><em>Support for SFTP and SCP protocols over SSH-1 and SSH-2 and plain old FTP protocol</em></font></li>
<li><font size="3" face="Georgia"><em>Batch file scripting and command-line interface </em></font></li>
<li><font size="3" face="Georgia"><em>Directory synchronization in several semi or fully automatic ways&#160; <br /> Integrated text editor </em></font></li>
<li><font size="3" face="Georgia"><em>Support for SSH password, keyboard-interactive, public key and Kerberos (GSS) authentication </em></font></li>
<li><font size="3" face="Georgia"><em> Integrates with Pageant (PuTTY authentication agent) for full support of public key authentication with SSH </em></font></li>
<li><font size="3" face="Georgia"><em>Explorer and Commander interfaces </em></font></li>
<li><font size="3" face="Georgia"><em>Optionally stores session information </em></font></li>
<li><font size="3" face="Georgia"><em>Optionally supports portable operation using a configuration file in place of registry entries, suitable for operation from removable media            <br /></em></font></li>
</ul>
</blockquote>
<p><font size="3" face="Georgia">&#160;&#160;&#160; Not sure where to start, after you downloaded it?&#160; They have <a href="http://winscp.net/eng/docs/guides" target="_blank">guides and useful tutorials</a> to help you out. There is Portable as well as installer version is available for download.</font></p>
<p><font size="3" face="Georgia">&#160; If security is your concern, you won&#8217;t be disappointed by WinSCP.     <br /></font></p>
<p><font size="3" face="Georgia"><strong>Download WinSCP v4.1.9</strong> <a href="http://winscp.net/download/winscp419setup.exe">Installer</a> &#124; <a href="http://winscp.net/download/winscp419.exe">Portable</a> &#124; <a href="http://winscp.net/download/winscp419source.zip">Source Code</a> </font></p>
<p><font size="3" face="Georgia"></font></p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a55624b6-a6c2-4c39-9c38-f64484bdb0e4" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/winscp" rel="tag">winscp</a>,<a href="http://technorati.com/tags/ftp" rel="tag">ftp</a>,<a href="http://technorati.com/tags/ftp+client" rel="tag">ftp client</a>,<a href="http://technorati.com/tags/sftp" rel="tag">sftp</a>,<a href="http://technorati.com/tags/scp" rel="tag">scp</a>,<a href="http://technorati.com/tags/client" rel="tag">client</a>,<a href="http://technorati.com/tags/protocol" rel="tag">protocol</a>,<a href="http://technorati.com/tags/file+transfer" rel="tag">file transfer</a>,<a href="http://technorati.com/tags/secure" rel="tag">secure</a>,<a href="http://technorati.com/tags/SSH+password" rel="tag">SSH password</a>,<a href="http://technorati.com/tags/simple" rel="tag">simple</a>,<a href="http://technorati.com/tags/easy.windows" rel="tag">easy.windows</a>,<a href="http://technorati.com/tags/freeware" rel="tag">freeware</a>,<a href="http://technorati.com/tags/open+source" rel="tag">open source</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Secure File Transfer for Healthcare organizations]]></title>
<link>http://gershater.wordpress.com/2009/09/10/secure-file-transfer-for-healthcare-organizations/</link>
<pubDate>Thu, 10 Sep 2009 20:59:26 +0000</pubDate>
<dc:creator>jgershater</dc:creator>
<guid>http://gershater.wordpress.com/2009/09/10/secure-file-transfer-for-healthcare-organizations/</guid>
<description><![CDATA[I have researched several vendors who provide FileTransfer over SFTP, FTPS or HTTPS to send large bi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have researched several vendors who provide FileTransfer over SFTP, FTPS or HTTPS to send large binary files to customers, other departments, vendors etc.</p>
<p>This will be published soon</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SCP i sFTP - bezpieczne alternatywy dla FTP]]></title>
<link>http://lazowski.wordpress.com/2009/09/03/scp-i-sftp-bezpieczne-alternatywy-dla-ftp/</link>
<pubDate>Thu, 03 Sep 2009 18:45:13 +0000</pubDate>
<dc:creator>lazowski</dc:creator>
<guid>http://lazowski.wordpress.com/2009/09/03/scp-i-sftp-bezpieczne-alternatywy-dla-ftp/</guid>
<description><![CDATA[FTP jest protokołem typu klient-serwer, który umożliwia przesyłanie plików z i na serwer poprzez sie]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>FTP jest protokołem typu klient-serwer, który umożliwia przesyłanie plików z i na serwer poprzez sieć TCP/IP. Jego główną wadą jest brak szyfrowania transmisji co wiąże się z przesyłaniem haseł oraz nazw użytkowników w postaci jawnej. Wada ta dyskwalifikuje ten protokół jeżeli zależy nam na bezpieczeństwie. Na szczęście istnieją alternatywy wykorzystujące SSH do komunikacji oraz gwarantujące szyfrowanie przekazywanych danych. W tym wpisie postaram się pokazać jak wdrożyć sFTP lub SCP na swoim serwerze pozwalając odejść poczciwemu FTP na emeryturę.<br />
<strong><br />
Trochę teorii z wikipedia na początek :</strong></p>
<p><strong>sFTP</strong> &#8211; protokół typu klient-serwer, który umożliwia przesyłanie plików z i na serwer poprzez sieć TCP/IP.<br />
Jest on pozbawiony wad, które posiada zwykły FTP. Przesyłając plik przy użyciu protokołu FTP uzyskujemy dobre przepływności, ale nie zyskujemy bezpieczeństwa, nasze hasła nie są szyfrowane. Znaczną poprawę bezpieczeństwa przynosi protokół SFTP, który nie wymaga na danym hoście posiadania serwera FTP, wystarczy konto SSH, którego jest on rozszerzeniem, używa jego struktury oraz przez niego się łączy.</p>
<p><strong>SCP</strong> &#8211; protokół SCP jest bardzo podobny do protokołu RCP (BSD), jednak w przeciwieństwie do RCP SCP korzysta z szyfrowanego połączenia podczas transferu, dzięki temu podsłuchanie transmisji jest zdecydowanie trudniejsze. Sam protokół SCP nie zapewnia uwierzytelniania, opiera się on na protokole SSH. Protokół SSH zajmuje sie tylko transmisją plików, jego przewagą nad protokołem FTP jest to, że oprócz szyfrowania potrafi również przekazać razem z plikiem jego podstawowe atrybuty (np. uprawnienia).</p>
<p><strong>sFTP przy zastosowaniu Scponly</strong><br />
Scponly gwarantuje nam bezpieczne przesyłanie plików dzięki SSH jednak wyłącza możliwość korzystania z samego shella. Tracimy możliwość wykonywania czy robienia czegokolwiek z poziomu SSH. Dobre rozwiązanie jeżeli chcemy dać dostęp do &#8220;ftp&#8221; ale nie chcemy dawać możliwość korzystania z shella.</p>
<p>Instalacja :<br />
<code>sudo apt-get install scponly</code></p>
<p>Konfiguracja użytkownika :<br />
<code>sudo chsh -s /usr/bin/scponly user</code></p>
<p>Od tej pory możemy logować się tylko przy pomocy klientów sFTP na konta który ustawimy. Jeżeli zalogujemy się przez SSH na konto któremu ustawiliśmy sFTP zobaczymy jedynie krótką informację  :<br />
<code>WinSCP: this is end-of-file:0</code></p>
<p><strong>sFTP + SCP przy zastosowaniu  rssh</strong><br />
rssh jest restrykcyjną powłoką działającą w oparciu o ssh pozwalającą jedynie na łączenie się przy pomocy SCP lub sFTP wyłączając, jak poprzednio, możliwość logowania się do konsoli. Dodatkowo rssh pozwala na wymianę plikami przy pomocy rdist, rsync, lub cvs.</p>
<p>Instalacja :<br />
<code>sudo apt-get install rssh</code></p>
<p>Konfiguracja :<br />
Musimy dodać dodatkowy wpis do <strong>/etc/shells</strong> o treści<br />
<code>/usr/bin/rssh</code></p>
<p>Oraz edytować plik <strong>/etc/rssh.conf</strong> w którym wybierzemy jakie rodzaje połączeń będą akceptowane :<br />
<code>#allowscp<br />
#allowsftp<br />
#allowcvs<br />
#allowrdist<br />
#allowrsync<br />
</code></p>
<p>Na koniec musimy ręcznie zmienić powłokę użytkownikom który mają korzystać z rssh. Dokonamy tego w /etc/passwd, przykładowy wpis dla usera <strong>bartek</strong><br />
<code>bartek:x:1001:1001:,,,:/home/bartek:/usr/bin/rssh</code></p>
<p>Jeżeli zależy nam na posiadaniu dostępu do konsoli oraz bezpiecznej wymienianie plikami to nie robimy nic poza sprawdzeniem czy posiadamy wpis<br />
<code>Subsystem sftp /usr/lib/openssh/sftp-server</code><br />
w configu sshd ( /etc/ssh/sshd_config ) </p>
<p>Na koniec warto by było wspomnieć o klientach sFTP/SCP. Skupię się jedynie na kliencie dla systemów z rodziny Microsoft. Godnym polecenia wydaje się WinSCP.<br />
Możliwości programu :<br />
    * Graficzny interfejs użytkownika<br />
    * Kilka wersji językowych<br />
    * Integracja z systemem Windows (przeciągnij i upuść, URL, ikony skrótów)<br />
    * Wszystkie typowe operacje na plikach<br />
    * Obsługa protokołów SFTP i SCP<br />
    * Skrypty i linia komend<br />
    * Synchronizacja katalogów na kilka automatycznych i częściowo zautomatyzowanych sposobów<br />
    * Wbudowany edytor tekstu<br />
    * Wsparcie dla haseł SSH, keyboard-interactive, public key and Kerberos (GSS) authentication<br />
    * Integracja z Pageant (PuTTY Agent) dla pełnego wsparcia public key authentication(klucza publicznego)<br />
    * Do wyboru interfejs wzorowany na Eksploratorze Windows lub Norton Commanderze<br />
    * Opcjonalny zapis ustawień sesji.<br />
    * Opcjonalnie wspiera pracę bez instalacji używając pliku konfiguracyjnego zamiast wpisów rejestru, nadaje się do pracy z nośników wymiennych</p>
<p><a href="http://img205.imageshack.us/i/winscp.jpg/" target="_blank"><img src="http://img205.imageshack.us/img205/7569/winscp.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" /></a></p>
<p>Linki<br />
<a href="http://www.sublimation.org/scponly/wiki/index.php/Main_Page">http://www.sublimation.org/scponly/wiki/index.php/Main_Page</a><br />
<a href="http://dragontoe.org/rssh/">http://dragontoe.org/rssh/</a><br />
<a href="http://winscp.net/eng/docs/lang:pl">http://winscp.net/eng/docs/lang:pl</a><br />
<a href="http://pl.wikipedia.org/wiki/File_Transfer_Protocol">http://pl.wikipedia.org/wiki/File_Transfer_Protocol</a><br />
<a href="http://pl.wikipedia.org/wiki/SFTP">http://pl.wikipedia.org/wiki/SFTP</a><br />
<a href="http://pl.wikipedia.org/wiki/SCP">http://pl.wikipedia.org/wiki/SCP</a><br />
<a href="http://di.com.pl/porady/28363,1,0,Bezpieczne_korzystanie_z_danych_na_koncie_FTP.html">Bezpieczne korzystanie z danych na kontach FTP</a><br />
<a href="http://www.kei.pl/?stronka=onas/aktualnosci#section_29">Bezpieczne wgrywanie plików na konto FTP</a> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TextWrangler 3.0 ☆☆☆☆]]></title>
<link>http://macin.wordpress.com/2009/08/31/textwrangler-30/</link>
<pubDate>Sun, 30 Aug 2009 22:25:13 +0000</pubDate>
<dc:creator>kabbala</dc:creator>
<guid>http://macin.wordpress.com/2009/08/31/textwrangler-30/</guid>
<description><![CDATA[TextWrangler 3.0 (2538) (2009-08-24) Bare Bones Software, Inc. 오랜만의 업데이트. 그동안 밀린 버그 수정과 Mac OS X 10.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div style="text-align:center;"><a href="http://macin.wordpress.com/files/2008/10/textwrangler-icon.png"><img class="alignnone wp-image-4338" title="TextWrangler Icon" src="http://macin.wordpress.com/files/2008/10/textwrangler-icon.png?w=128" alt="" width="128" height="128" /></a></p>
<p><a href="http://www.barebones.com/products/textwrangler/">TextWrangler</a> 3.0 (2538) <a href="http://www.barebones.com/support/textwrangler/notes_tw30.html">(2009-08-24)</a><br />
<a href="http://www.barebones.com/">Bare Bones Software, Inc.</a></div>
<p>오랜만의 업데이트. 그동안 밀린 버그 수정과 Mac OS X 10.6 Snow Leopard 호환성 확인이 주 목적인 듯.</p>
<div style="text-align:center;">무료 · download <a href="http://pine.barebones.com/freeware/TextWrangler_3.0.dmg">#1</a>, <a href="http://ven.barebones.com/TextWrangler_3.0.dmg">#2</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[scp] Vi(ew) remotely!]]></title>
<link>http://nixtricks.wordpress.com/2009/08/28/scp-view-remotely/</link>
<pubDate>Sat, 29 Aug 2009 00:04:32 +0000</pubDate>
<dc:creator>kousik</dc:creator>
<guid>http://nixtricks.wordpress.com/2009/08/28/scp-view-remotely/</guid>
<description><![CDATA[You can view a file in the remote machine using vim (or vi) or compare it with a local file using vi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>You can view a file in the remote machine using vim (or vi) or compare it with a local file using vimdiff by just using scp:<br />
<code>vi scp://kousik@remote.server//home/kousik/remote-file</code></p>
<p><code>vimdiff scp://kousik@remote.server//home/kousik/remote-file local-file </code></p>
<p>You could have copied the remote-file to the local machine first, but this way you don&#8217;t have to do it explicitly.</p>
<p>By the way, sftp also works fine.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ECMerge can't do SCP and SFTP yet but...]]></title>
<link>http://elliecomputing.wordpress.com/2009/08/24/ecmerge-cant-do-scp-and-sftp-yet-but/</link>
<pubDate>Mon, 24 Aug 2009 20:34:29 +0000</pubDate>
<dc:creator>elliecomputing</dc:creator>
<guid>http://elliecomputing.wordpress.com/2009/08/24/ecmerge-cant-do-scp-and-sftp-yet-but/</guid>
<description><![CDATA[SCP is a secure protocol to transfer files based on SSH, SFTP (SSH FTP) is a newer SSH FTP with more]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>SCP is a secure protocol to transfer files based on SSH, SFTP (SSH FTP) is a newer SSH FTP with more directory and file operations integrated.</p>
<p>ECMerge does integrate a FTP supporting multiple parallel connection, but does not yet integrate a SCP or SFTP protocol client. However you can still use ECMerge to compare your files updated through these protocol. WinSCP is well known SCP/SFTP client which let you compare your files with the differ of your choice. The base differ is simply &#8220;fc&#8221; which is really basic. </p>
<p>To configure WinSCP for ECMerge, go to the Preferences panel, then the Commands page, the &#8220;File Compare&#8221; can be configured this way:</p>
<p><tt>c:\progam files\ellié compuing\merge\guimerge.exe --mode=diff2 "!" "!^!"</tt></p>
<p>Have a good week<br />
Armel</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
