w00t! young one discovers true power of os x

Posted:
in macOS edited January 2014
[quote]Originally posted by M3D Jack:

<strong>



Well, if I need to grab files from my machine remotely, and I won't have timbuktu on the remote box, I turn on ftp on my workstation. I worried about the security risks for about two minutes, and then realized that I'm really not that important, and if anyone is going to waste their time trying to hack my box, I keep daily backups just in case anything goes wrong.



For me, all I have to do is click a button in the preferences and ftp is on. Sorry, but I think people go a little overboard and get too paranoid over security sometimes. Hell, just read slashdot...</strong><hr></blockquote>



But the thing is, you don't need to use ftp to do what you're doing. SSH includes sftp, which does the same thing ftp does, but is more secure.

Comments

  • Reply 1 of 17
    serranoserrano Posts: 1,806member
    i have found the light brothers, i just ssh into my machine from the mac lab for the first time. oh the possibilities. mmm, nerdy. this is very sweet, very sweet indeed.



    gee, i wonder what my computers doing? bwahahahahahaha



    Welcome to Darwin!

    [sr3886:~] root# top



    Processes: 36 total, 3 running, 33 sleeping... 82 threads 15:38:52

    Load Avg: 1.05, 1.00, 1.00 CPU usage: 92.7% user, 7.3% sys, 0.0% idl40:28

    SharedLibs: n06, 1.00, 1.00ident = 11.9M cod93.5.02M dat6.5% sys, 0.0% idle

    MemRegions: num = 1448, resident = 25.0M + 2.39M private, 13.1M shared

    PhysMem: 27.2M wired8 34.1M active,5.0.0M inactive, 94.3M used, 162M free

    VM: 967M + 45.0M 24715(1) pageins, 3.035(0) pageout4.3 2

    7 0

    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE

    314 top 7.8% 0:00.30 1 15 14 196K 276K+ 436K+ 1.37M

    309 tcsh 6.5% 0:06.50 1 16 15 200K 604K 440K 5.72M

    308 sshd 0.0% 0:00.06 1 9 13 108K 452K 320K 1.50M

    307 ScreenSave 0.0% 0:00.11 1 58 65 740K 5.09M 5.71M 69.9M

    303 setiathome 88.4% 98:20.71 1 12 78 14.3M+ 428K 14.5M+ 17.0M+

    284 SetiDockli 93.5% 99:50.05 3 64 88 14.3M+ 1.13M 14.5M+ 17.0M+

    283 SystemUISe 0.0% 0:01.97 3 120 123 756K 1.20M 1.15M 75.6M

    282 Dock 0.0% 0:03.75 3 94 93 932K 1.21M 1.37M 71.9M

    278 Finder 0.0% 0:04.01 2 81 169 5.40M 5.38M 8.96M 86.3M

    272 pbs 0.0% 0:01.01 1 28 25 372K 440K 544K 18.2M

    267 loginwindo 0.0% 0:04.79 7 144 105 960K 1.22M 1.53M 60.4M

    266 Window Man 0.0% 1:06.69 3 109 97 700K 8.30M 8.62M 46.8M

    263 cron 0.0% 1:06.70 1 9 15 32K 272K 60K 1.52M

    259 sshd 0.0% 0:00.64 1 9 14 60K 452K 152K 1.50M

    253 SecuritySe 0.0% 0:00.16 1 28 18 88K 380K 140K 2.09M



  • Reply 2 of 17
    So SSH'ing is like timbuktu, without the GUI?



    How can i send files via SSH, or browse directories?
  • Reply 3 of 17
    So you let OSX use the remote login, and checked your computer's stats BIG GUY
  • Reply 4 of 17
    [quote]Originally posted by Hornet:

    <strong>So SSH'ing is like timbuktu, without the GUI?



    How can i send files via SSH, or browse directories?</strong><hr></blockquote>



    SSH is an encrypted connection, in this case, between his two Macs. It is command line based (no GUI). Once the connection is established, you can have a tremendous amount of control over the remote computer.



    How do you do all this stuff? Frankly, you'll need to get yourself a book on UNIX and do some reading. This is "real" computing.
  • Reply 5 of 17
    [quote]Originally posted by Hornet:

    <strong>So SSH'ing is like timbuktu, without the GUI?



    How can i send files via SSH, or browse directories?</strong><hr></blockquote>



    I wouldn't go so far as to compare it to Timbuktu. SSH, like has been mentioned before, is a secure telnet standard. Easiest way to transfer files is to turn on FTP access and get yourself an FTP client. There are secure FTP implementations as well...
  • Reply 6 of 17
    serranoserrano Posts: 1,806member
    [quote]Originally posted by MacGP:

    <strong>So you let OSX use the remote login, and checked your computer's stats BIG GUY </strong><hr></blockquote>



    hey! i said



    anyways later while i was stuck at my girlfriends house while she was at work i downloaded a sweet win9x ssh client called putty (versiontracker) and after a quick trip to <a href="http://www.macosxhints.com"; target="_blank">macosxhints.com</a> i started playing dunnet ala emacs!



    heres my brief playing, kinda funny

    Welcome to Darwin!

    [sr3886:~] crs% emacs -batch -l dunnet



    Dead end

    You are at a dead end of a dirt road. The road goes to the east.

    In the distance you can see that it will eventually fork off. The

    trees here are very tall royal palms, and they are spaced equidistant

    from each other.

    There is a shovel here.

    &gt;north

    You can't go that way.

    &gt;south

    You can't go that way.

    &gt;east

    E/W Dirt road

    You are on the continuation of a dirt road. There are more trees on

    both sides of you. The road continues to the east and west.

    There is a large boulder here.

    &gt;look

    E/W Dirt road

    You are on the continuation of a dirt road. There are more trees on

    both sides of you. The road continues to the east and west.

    There is a large boulder here.

    &gt;east

    Fork

    You are at a fork of two passages, one to the northeast, and one to the

    southeast. The ground here seems very soft. You can also go back west.

    &gt;se

    SE/NW road

    You are on a southeast/northwest road.

    There is some food here.

    &gt;eat

    You must supply an object.

    &gt;eat food

    You don't have that.

    &gt;get food

    Taken.

    &gt;eat food

    That tasted horrible.

    &gt;



  • Reply 7 of 17
    Type:



    man ssh



    read it, and then hit 'q'



    then type: man sftp and read that.



    Don't enable ftp serving, that's not even vaguely 1337, and leaves you wide open to those who are.



    Copying files with ssh is easy, and you can enable compression to speed things up.



    [ 02-23-2002: Message edited by: stimuli ]</p>
  • Reply 8 of 17
    wow, soooooo mac like and intuitive
  • Reply 9 of 17
    [quote]Originally posted by M3D Jack:

    <strong>



    I wouldn't go so far as to compare it to Timbuktu. SSH, like has been mentioned before, is a secure telnet standard. Easiest way to transfer files is to turn on FTP access and get yourself an FTP client. There are secure FTP implementations as well...</strong><hr></blockquote>



    Holy flipping gods!!! FTP is evil. Don't use FTP, kids! <img src="graemlins/surprised.gif" border="0" alt="[Surprised]" />



    SSH goes _far_ beyond just being an encrypted telnet replacement. It's also an encrypted FTP replacement (SCP) and usable as a nice VPN tool for encrypting any type of network traffic.
  • Reply 10 of 17
    [quote]Originally posted by hacmac:

    <strong>



    Holy flipping gods!!! FTP is evil. Don't use FTP, kids! <img src="graemlins/surprised.gif" border="0" alt="[Surprised]" />



    SSH goes _far_ beyond just being an encrypted telnet replacement. It's also an encrypted FTP replacement (SCP) and usable as a nice VPN tool for encrypting any type of network traffic.</strong><hr></blockquote>



    Well, if I need to grab files from my machine remotely, and I won't have timbuktu on the remote box, I turn on ftp on my workstation. I worried about the security risks for about two minutes, and then realized that I'm really not that important, and if anyone is going to waste their time trying to hack my box, I keep daily backups just in case anything goes wrong.



    For me, all I have to do is click a button in the preferences and ftp is on. Sorry, but I think people go a little overboard and get too paranoid over security sometimes. Hell, just read slashdot...
  • Reply 11 of 17
    andersanders Posts: 6,523member
    [quote]Originally posted by hacmac:

    <strong>



    Holy flipping gods!!! FTP is evil. Don't use FTP, kids! <img src="graemlins/surprised.gif" border="0" alt="[Surprised]" />

    </strong><hr></blockquote>



    If people don´t know one of these three things:



    1: My IP

    2: My Username

    3: My Password



    What can they do?
  • Reply 12 of 17
    torifiletorifile Posts: 4,024member
    ssh is great. I was able to download and install postfix from home on my server in my office all over my modem connection. Use it with curl and pico and it's great!! I love OS X
  • Reply 13 of 17
    [quote]Originally posted by Anders:

    <strong>



    If people don´t know one of these three things:



    1: My IP

    2: My Username

    3: My Password



    What can they do?</strong><hr></blockquote>



    Simple: they can read the packets going on the net, and from there get:

    1: your IP

    2: your Username

    3: your Password



    So they can do whatever they want, as soon as the

    packets happen to come close to their machine...



    That's why you don't want to use any non-encrypted connection if it includes any password/username you care about.



    Moreover ftpd has been known to contain exploits.
  • Reply 14 of 17
    torifiletorifile Posts: 4,024member
    I always use ssh when I'm on my iBook to connect to my Cube (or vice versa), but when I'm subjected to using a PC, I don't have the luxury of using ssh. So I telnet into my university account and ssh from there to my X machines. Is this safe? I'm ssh'ing from a telnet connection. Can my info be sniffed on the way to the telnet machine before it gets encrypted on the way to the X machine? Did that make any sense?
  • Reply 15 of 17
    I would think so, since the first leg from your machine to the university telnet account is insecure, the whole thing is comprimised from that point of view....
  • Reply 16 of 17
    torifiletorifile Posts: 4,024member
    [quote]Originally posted by M3D Jack:

    <strong>I would think so, since the first leg from your machine to the university telnet account is insecure, the whole thing is comprimised from that point of view....</strong><hr></blockquote>



    Well, that just sucks. Do I have to go installing an ssh app everytime I want to log in? Bah... What is the port number of ssh? I think that some computers do have hostexplorer which has the option for using different ports. Maybe ssh will work. Stoopid Windows.
  • Reply 17 of 17
    lundylundy Posts: 4,466member
    [quote]Originally posted by janitor:

    <hr></blockquote>



    Hey, great thread. I've got the problem that I need to SSH into my Yosemite, which is on the floor running, but has no monitor. I want to transfer the data to my new dual gig ..



    But - I didn't set the checkbox on the Yose to allow external administration. So when I try to SSH it says denied access.



    Seeing as how I have the password, is there any way to force it to turn that on?



    Otherwise I've got to drag a monitor over to it so I can see what the hell I'm doing when I check that box.



    Thanks
Sign In or Register to comment.