Tag Info

New answers tagged

-2

Along with +andrew-stannard directions the default target folder for the OSX built in TFTP server is: /private/tftpboot/yourfile.bin Also ensure firewall allows the tftp port (69) So by naming the file according to the hardware you are recovering specs (I had to recover a group of SNOM IP Phones and neglected 1 letter in the file name which took over an ...


1

I was running into this issue while using a home OpenVPN server and connecting to it using the Tunnelblick application on Mac. What was happening on my end is that a route with my home IP as the destination and an incorrect gateway was getting leftover after disconnecting from the VPN. Deleting this route solved the issue, simply $ sudo route -n delete ...


2

There's a nice summary of the difference between ChallengeResponseAuthentication and KbdInteractiveAuthentication at http://blog.tankywoo.com/linux/2013/09/14/ssh-passwordauthentication-vs-challengeresponseauthentication.html - summary is that ChallengeResponse often ends up just asking for password (but insists on it being supplied interactively). ...


1

Run netstat -lpn and verify that the web server port you want to use is in deed running on 0.0.0.0 instead of localhost. If it's not then we need to edit the configs to listen on "*" and then restart the web server daemon. If you have a firewall on your machine, just for a few minutes here to troubleshoot, turn it completely off so that we can eliminate it ...


0

Mac OSX is based on BSD so the netstat under Mac OSX will not be able to show you the pid/process name. As you already figured out, lsof is the right choice.


0

Edit: The version of Netstat that is included with Mac OSX does not interpret the -p flag as it does in other distributions (protocol instead of program), so while Netstat likely did not work for the reasons outlined below, lsof was still the correct way to go for the answer. Netstat by default uses friendly names/definitions for ports (e.g., ssh instead of ...


0

Check the following in your servers's sshd_config PubkeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys For some reason, your sshd is trying to open /root/.ssh/authorized_keys file (from you sshd log) though you are trying to log in with user 'git', so it should actually read /home/git/.ssh/authorized_keys. I suspect the ...


0

In the extended syntax (see pam.conf(5)), it's possible to define a custom behavior for when the dlopen() call fails by defining a behavior for the open_err error code. That said, sufficient should already be accomplishing this for you. Here's the equivalent extended syntax from that same manpage: sufficient [success=done new_authtok_reqd=done ...


4

Update: As of March 2015 truncate is no longer available in Homebrew as a standalone formula. As truncate is part of GNU Coreutils you should install it on OS X with the following command: > brew install coreutils After installation truncate will be available under the name gtruncate. Note that all programs from Coreutils will be available with the ...


0

The issue is not related to VMs at all! I discovered the cause of the issue on the host system's TCP/IP configuration after more trial & error. The issue was located here: System Preferences > Network > Advanced > TCP/IP tab > DHCP Client ID field I had input the host name of the computer in this field. I removed it, and the erroneous MAC addresses ...


0

Wouldn't it just be easier to throw the machines behind a simple loadbalancer or NAT? That's generally more of an industry-standard practice, anyway, and would allow you to further scale the application over time.


0

If the services you are accessing are all accessed by name then I'd just create a host entry with in the hosts file on your dev machines. For example, if your machine was called myserver and resolved to 1.2.3.4 Then you can now create a host file entry /etc/hosts with myserver 5.6.7.8 Anything that now tries to reach myserver will end up hitting the ...


-1

Can you just offer the "old" address from the "new" server ala sub-interface, or is the new address in a totally different subnet? If you can't attach the new IP to the new server, then you haven't really moved the address. To route traffic across the old address to the new server, you need to NAT the address in the old subnet. Traffic would land on the ...


0

Here's a version of Dave's script, which also checks if the user/group exists before creating it: #!/bin/sh # creates service account user similar to Linux adduser command # to view existing users and ids try: # dscl . -readall /Users UniqueID | sort -nk 2 die () { echo >&2 "$@" exit 1 } echo "Usage: sudo $0 username uid realname" echo "NOTES: ...



Top 50 recent answers are included