Tag Info

New answers tagged

0

Getting a bit creative, but you can also run a java app using VNC that either has a http server, or in my case uses a loop to look for a file and create that file using SSH. Here is my java app.


2

Turns out that SSH recently switched from using MD5 fingerprints (what I refer to as a "traditional" fingerprint) and now uses SHA256 fingerprints (what I referred to as gobbledygook). I'm guessing that with El Capitan OS X is now using a newer version of SSH that is using the new SHA256 default. For those of you who find this, although SSH will give you ...


1

According to the info on the Guest user in the Users & Groups panel, it states that Users cannot log into the Guest user remotely. Additionally, there is this question on SO: Is there a default SSH password on Mac OS X?, specifically the accepted answer: Having no password on the OS level effectively means that ssh is disabled for that user. The ...


2

I think the easiest way to know Guest user name would be login to the system as guest and in terminal type id My guess is that user name for Guest is guest


1

To proper logging events from sshd you should not set -d swiches, since this is reserved for debugging, but you should user sshd_config (not sure where is located in OSX). In sshd_config, there is option LogLevel, which you can adjust to your needs, basically the most verbose level is DEBUG3, which gives you a lot of information helpful for debugging.


1

The most simple way to disable the Apple provided sshd without removing or replacing it is just renaming it: sudo mv /usr/sbin/sshd /usr/sbin/sshd.old Additionally you may add a symbolic link at /usr/sbin/ to the /usr/local/sbin/sshd with sudo ln -s /usr/local/sbin/sshd /usr/sbin/sshd


3

Terminal.app probably implements the "media copy" (printer) escape sequence from VT100s. You can read about those control sequences at vt100.net, or in the XTerm Control Sequences, e.g., CSI Pm i Media Copy (MC). Ps = 0 -> Print screen (default). Ps = 4 -> Turn off printer controller mode. Ps = 5 -> Turn on printer ...


2

You can prevent these from accumulating if you always exit the X11 server gracefully. That means logging out gracefully and shutting down gracefully. No way you can always do that though, so about all you can do is delete these every now and then. You could write a script to find and remove the ones not in use and run it manually or schedule it to run ...


1

If you need to set a VNC password - you might need to also kickstart the ARDAgent, you can use this command instead of just loading the plist: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart ...


0

sshd doesn't "re-read" it's configuration file, it restarts itself (refer to man sshd(8)), however, it shouldn't kill the child/connections if you sent the SIGHUP to the PARENT of them all. That is when you are talking about sshd that binds to port 22, as in the "usual" with Linux/FreeBSD/etc. [there are exceptions and sysadmin reasons why to follow the ...



Top 50 recent answers are included