Have FTP running-Now I want to switch to SFTP. How?
My MacMini at work is open over FTP, so I can access files remotely. Trouble is, I want to secure the data transfers, so FTP won't cut it.
So, I just need to confirm with the knowledgeable: to switch to SFTP, do I just close off Port 21 on my office router (or at least cancel the Port Forward of Port 21 from my router to my MacMini) and then open up Port 22. As long as everything else is already OK since FTP is working fine, do I need to implement any other change before I'm good to go with SFTP?
As always, thanks, people.
OK the suggestions were just things to think about for the future. You can evolve into them as you feel the need.
I'm not that advanced in my knowledge of scp, never mind appreciating why scp might be a better option than SFTP.
scp is the ssh cp command. It works very similar to regular Unix cp command, except over a secure ssh connection (just like sftp).
scp /path/to/file [email protected]:/where/to/put/it
scp [email protected]:/path/to/file /where/to/put/it
scp -r /directory/tree/to/copy [email protected]:/where/to/put/it
scp file1 file2 file3 file4 [email protected]:/where/to/put/them
scp *.txt [email protected]:/where/to/put/them
scp [email protected]:"/somewhere/*.dmg" /where/to/put/them
why use an alternate, higher port number? Is it to throw off any attackers trying to hit my Mac on port 22?
Yes. It does not so much provide additional security, but it does limit the number of Bots knocking on your door trying to break-in. If you look at the "sudo more /var/log/secure.log" and see how many Bots are trying to break into port 22, that is after you forward internet port 22 to port 22 on your Mac. Using a high numbered port just stops your Mac wasting time listening to these break-in attempts.
ssh-keygen is how you create private/public keys. You create the keys on the system you are sitting in front of. You copy the $HOME/.ssh/id_rsa.pub (or id_dsa.pub) file to the remote system you wish to login to. You append the copied id_rsa.pub (or id_dsa.pub) file's contents into the remote user account's .ssh/authorized_keys file. That allows the remote system to know who you are and because your .pub key could have only been put in the remote account's .ssh/authorized_keys file, it knows you are who you say you are and that the local user has agreed to allow you to use the account via ssh/scp/sftp.
Similar Messages
-
I have CS3 for Windows but want to switch to Mac, how would I go about this?
I have CS3 Design Premium for Windows on an old laptop but want to switch it to my new Mac, how would I go about this?
Do I have to pay for an upgrade to CS6, then somehow switch the license then download to my Mac? Also, I'm a student so it would be a student priced upgrade.You can either upgrade or move to Creative Cloud. But since you’re a student an upgrade does not exist so just pick the student version you want and go with that.
Bob -
I have 2 IPADS and I want to switch them. How do I do that?
I have 2 IPADS and one is larger than the other. I would like to swap the info on them. How do I go about doing that?
http://support.apple.com/kb/HT2109
Regards. -
I have been syncing my iphone to my work PC and now I want to switch to my laptop for syncing. How?
An iPhone can only sync with one library at a time. If you do not wish to have your present iTunes library on the home computer replace the one on the phone you will need to put the content of the work library on the home computer so it is still syncing with the same library
iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527 - a somewhat bewildering and not always easily understandable set of options.
Quick answer if you use iTunes' default preferences settings: Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive. Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the iTunes Library.itl file in the moved iTunes folder.
Windows users see tip at: https://discussions.apple.com/message/18879381 -
My friend gave me a $25 iTunes gift card for Christmas, so I switched to the US store and spend most of it with 11¢ remaining. *Now I want to switch back to my original store, but I can't. iTunes keeps saying "You have a store credit balance; you must spend your balance before you can change stores.*
You might just have to contact Apple and ask them to remove it (losing it). Usually people clear a balance by buying one song and having the exact remainder charged to their credit card, but if you don't have a US credit card you cannot do that.
iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html -
When I am on a Youtube video that is running and I want to switch to another tab, the Ctrl+<tab number> does not work, is that intended functionality?
This can happen when the video player (Flash plugin) has the focus.
In that case the plugin consumes all the key presses.
You will have to click with the mouse elsewhere on the page or in the user interface to make keyboard shortcuts work. -
I've been using my mom's iTunes account for years but now I want to switch to another account. How can I do this without losing all of my pictures, music, and apps?
Follow the steps in wjosten's post here: https://discussions.apple.com/message/13356770#13356770 (for Windows, substitute Outlook in step 2).
-
Hi.
I have the 3gs iphone and want to switch on Location Services ? When I go to the screen it is grayed out and I cannot activate?? HELP!
Many thanks
RoddersSettings>General>Restrictions...are yours on? Privacy>Location Services>On/Off.
-
I am running full upload daily now i want to load delta records how can i
Hi Gurus,
I am running full upload daily now i want to load delta records how can i do that could any body help recording this..
Regards
Kiran KumarHello Kiran,
First make sure that you datasource is delta enabled. If so create a new infopackage for Init without data transfer and execute it. Then create a InfoPackage for Delta.
Thanks
Chandran -
I have Pages 09. I have created custom templates and want to delete them. How do I delete a template I have created in Pages 09?
Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The door to the user's Library is hidden in Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your users Library will appear about halfway down the list.
-
Purchased an album delete by mistake and right now i want to redeem it. How do i do that
If you mean that you want to re-download it, then whether you can do so depends upon what country that you are in. If you are in a country where you can re-download music and it's still in the store then see if it appears under the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
-
I bought iCloud storage a few months ago and now I want to buy some more, how do I know when I purchased the first one?
Read here:
http://support.apple.com/kb/HT4874
What happens is your existing plan gets canceled, & you're charged a pro-rated amount. -
I have macromedia dreamweaver 8 i want to upgrade to cs6 how to do that
i have macromedia dreamweaver 8 i want to upgrade to cs6 how to do that
You cannot. DW 8 is not in the upograde path for CS6. Your only options are to purchase or subscribe to CS6 at the full rate.
Purchase CS6 products:
http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html
Creative Cloud Learn & Support
http://helpx.adobe.com/creative-cloud.html -
I have several CC subscriptions and want to cancel one. How do I tell what subscription is attached to what computer? I can't find any place to match up a serial number or any kind of ID.
Hi Okvideodude,
Welcome to Adobe Forums
You can Contact Adobe Customer Support and provide your email address for the one you want to cancel. In order to do so see the link mentioned below.
http://www.adobe.com/support/download-install/supportinfo/
Let us know if that helps!
Thanks
Garima -
I purchased Adobe ExportPDF. Now I Want to Download it. How do I do that?
I purchased Adobe ExportPDF. Now I Want to Download it. How do I do that
<moved from Downloading, Installing, Setting Up to Adobe ExportPDF>
that's not how exportpdf works. it's an online service, ExportPDF
Maybe you are looking for
-
How can i get my iPad back on the internet?
Everything wad down today...cable, internet, etc. Now it is back. My iMac is right back on line and all is well. The iPad, though, says I am not connected to the internet and nothing is working. How do I get the iPad back on line. I checked the
-
I have an album that contains over 300 pictures. I put them in the order I want them to appear in the photo book I want to make. When I select the entire content and choose Create Book, all the pictures appear on the right hand side of the book in
-
I am not able to redeem my redemption code
i purchased the adobe cloud because my upgrade to elements 12 never worked despite endless hours talking to would be experts, so i decided to lose the 67 gbp and try creative cloud for ligfhtroom 5 and photoshop cc however i am having the same proble
-
Trouble locating logic's plugins
Hi, this is really a newbie question to ask..but where in logic do i find the plugins that came with it. is it in the mixer box with the sliders or is it a separate box..i'm looking for deesser and a few things to clean up my vocal tracks.
-
Update entity attribute, auto-refresh ViewObject
Hi, I have an entity Emp and a ViewObject based on this entity with a where clause like "salary > 2000". I update the salary from 1900 to 2100 at entity level, but the viewObject is not "automatically-refreshed". So my Employee with his new salary 21