|
#1
| ||||
| ||||
| SSH login How can I set up SSH so that I can log in when my mac is just at the login screen and not running in a certain user. Does it work that way by default? Also are there any clients for windows that let you log in to SSH? I'm wanting this so I can do stuff on my mac from school on PCs and bybass the schools port-blocking onto IRC . BTW what port does SSH use? |
|
#2
| |||
| |||
| You should be able to So long as you have remote access enabled in the sharing section of your system preferences, you should be able to ssh into your mac. As for the windows ssh clients... there are tons of them... Take a look www.tucows.com and find one that looks appealing to you... Personally, I use a program called Putty. Its pretty small, has any bell and whistle that most folks would need and its pretty fast. All in all I would recommend it. SSH is on port 22 Telnet is on port 23 Good luck
__________________ BSDimwit Titanium Powerbook 550 512MB ram |
|
#3
| ||||
| ||||
| BSDimwit said you can and I'm sure he knows what he is talking about. what you need is for sshd (the ssh deamon) to be running. I personally thought that when you logged out it would quit this because it quits all other applications but perhaps the unix core still runs. If I get a chance to do some testing on this I'll let you know.
__________________ 1 ghz pb w/ 768M RAM, 10.3.latest (usually). Yeah life is good. |
|
#4
| ||||
| ||||
| So what do I have to do to get it running on my ibook? |
|
#5
| ||||
| ||||
| Quote:
For example, apache runs as the user www, and the postfix mail daemons run as the user postfix.
__________________ What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht |
|
#6
| ||||
| ||||
| Do you mean, so you could login to your iBook from away, or so you could log into a desktop Mac from your iBook which you're lugging around? Anyway, on the server machine: In System Preferences > Sharing > "Application" tab, check the 'allow remote login'. On the client machine, if it's a Mac, nothing; if it's a PC, get a ssh client.
__________________ What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht |
|
#7
| ||||
| ||||
| all the processes that I have mentioned are indeed launched from root Hmm, that's interesting. I hadn't realized that an httpd process is run as root. Interesting though, as soon as I turn on web sharing (don't even connect once) it looks like this: : 1 23:09; ps auxc | grep http root 22770 0.0 0.3 2436 1016 ?? Ss 0:00.08 httpd www 22771 0.0 0.1 2436 272 ?? S 0:00.01 httpd And, it seems both are listening on port 80 (I didn't even realize that was possible). : 0 23:09; sudo lsof | grep httpd | grep 80 httpd 22770 root 16u inet 0x0183b4cc 0t0 TCP *:80 (LISTEN) httpd 22771 www 16u inet 0x0183b4cc 0t0 TCP *:80 (LISTEN) Anyway, OS X has a "daemon" user by default, I'd be surprised if it's not used by some daemon processes. Perhaps I'm just in for a surprise ;-} edit: silly mark, it's BB, not HTML
__________________ What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht |
|
#8
| |||
| |||
| One httpd will be running as root; as on all Unix-like systems, you need root to use a port under 1024. If you set Apache to listen on a larger port (say, 8080), then you can keep it from running anything as root, but shouldn't be necessary. ftpd will be root until a user logs in, then it should change to that user. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh -x and XForwarding into OS X from a Linux Box | robpatrick | Mac OS X System & Mac Software | 5 | February 7th, 2002 04:35 PM |
| SSH Daemon not allowing login | jbrayton | Mac OS X System & Mac Software | 3 | January 23rd, 2002 02:19 PM |
| can't tunnel my imap with ssh | Shaq fu | Mac OS X System & Mac Software | 8 | November 15th, 2001 05:48 AM |
| Is there a point to ssh remote login? | Snyper M | Apple News, Rumors & Discussion | 3 | November 8th, 2001 03:06 AM |
| What password to use with ssh remote login? | DominikHoffmann | Mac OS X System & Mac Software | 3 | October 19th, 2001 12:44 AM |