Reputation
9,268
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
7 42 82
Newest
 Necromancer
Impact
~1.6m people reached

May
30
revised can't access usb modem after bridging modem
edited title
May
30
revised Open only directory in given directory
added 1 character in body
May
30
comment Open only directory in given directory
Yeah I wasn't suggesting a generic solution to recurse multiple subdirs.. rather I was just suggesting stating the point that this is for when you have one dir there. It makes the answer more digestable because one doesn't then have to refer back to the question to read a finer point of his question. And it makes it clearer what the answer is/isn't.
May
30
comment Open only directory in given directory
It's also worth noting re your answer that this only works because he has only one directory to go into. With more than one, this happens pastebin.com/RPAQNtRw (as you know) and one would then need a pushd/popd/cd .. after the do
May
30
comment Open only directory in given directory
@Karan that's right!
May
30
comment Open only directory in given directory
@Karan no it doesn't, and I only do it with ramhound. Ramhound and I have a funny relationship with mutually agreed terms!
May
30
comment Would a USB splitter work on a KVM?
@sawdust whoops, you're right
May
30
comment Open only directory in given directory
I think %d is fine. If a directory has spaces CD still doesn't need quotes around it
May
30
comment Open only directory in given directory
AT ramhound, He did reply, so if you still want him to clarify further, perhaps you should be more clear about what you want clarified
May
29
comment Would a USB splitter work on a KVM?
I am not sure what you are talking about re keyboard port and hub port.. The KVM Switch has the controlling keyb and mouse ports that send to the KVM.. And the other keyb/mouse ports send it out to the comps.. What you could do though, is get a reverse kvm switch, that allows you to use one keyboard with multiple computers.. you plug the keyboard into the reverse kvm, and the reverse kvm into each computer. You can push a button on the kvm switch to flick between computers
May
29
comment Would a USB splitter work on a KVM?
you could contact roccat and asked them if they know of any kvm switches that are compatible..
May
29
comment Would a USB splitter work on a KVM?
also, besides the pics.. What extra features are you referring to that you say you lose from the keyboard and mouse?
May
29
comment Would a USB splitter work on a KVM?
it's not absolutely necessary but it may help if you can you include some pictures taken from your phone?
May
29
revised Adobe Brackets: How to find and replace using Regex?
replaced brackets with adobe brackets
May
29
comment Adobe Brackets: How to find and replace using Regex?
looks like adobe brackets is quite limited github.com/adobe/brackets/issues/7056 and github.com/adobe/brackets/issues/8093 Also it's not like adobe brackets is so well known to just call it brackets, and when talking about regexes too, the term brackets is ambiguous when you're using adobe brackets, so when you mean to say adobe brackets, say adobe brackets rather than just brackets. The workaround wuld be to copy/paste into a more functional text editor
May
29
comment How can I find what the command window that occasionally pops up in Windows 8.1 for a fraction of a second is?
get a screen recorder program and pause it to see. Or try videoing the screen with your smartphone
May
29
comment What stops anybody from copying their ssh public key onto my server?
Yes that's right. Setting PasswordAuthentication No, in sshd_config on the destination machine. That will thwart brute force attackers / dictionary attackers, they won't get the prompt for a password. And nobody tries brute forcing a key(generating keys) 'cos keys are just so long! By the way, somebody brute forcing would likely use ssh as a tool directly rather than ssh-copy-id, and once they are in they could use ssh-copy-id, but I suppose they could use ssh-copy-id as a tool when brute forcing! But indeed, they'd be thwarted by PasswordAuthentication No.
May
29
comment What stops anybody from copying their ssh public key onto my server?
His title did say "can't anybody copy their ssh public key onto my server? The answer is No[only those that have the password can.. and when passwordauthentication is enabled). If anybody could get in then it'd be a problem, so his concern is reasonable given the question he is asking.
May
29
comment What stops anybody from copying their ssh public key onto my server?
I am not sure whether ssh-copy-id attempts PubKeyAuthentication, but if it did it'd be pointless. Because if it can get in via the key, then it has nothing to do, and if it can't, it'll have to try PasswordAuthentication anyway. BTW It is possible for example for ssh to go in specifying to only do PasswordAuthentication $ ssh -o "PubKeyAuthentication no" user@comp Or PasswordAuthentication no, so it only tries PubKeyAuthentication. By default it tries both i.e. Key then if that fails then Password. And whatever method it tries can only work if sshd_config on the dest computer allows it
May
29
comment What stops anybody from copying their ssh public key onto my server?
re the brute force. Once the key is copied over then PasswordAuthentication can be set to No. Then ssh-copy-id cannot get in. In order to get in, ssh-copy-id will ssh in. So, if the's source computer's key is not on the destination server and PasswordAuthentication is set to No, then ssh-copy-id can't get in as ssh can't get in either. ssh by default tries PubKeyAuthentication first, then PasswordAuthentication. So if the key works it goes in no prompt, and if the key fails then you get a password prompt. And sshd often has PubKeyAuthentication and PasswordAuthentication to yes.