associating to an encrypted ssid from mac os x command line - macos

I have a bunch of macbook pro and air laptops which are being controlled through SSH.
At this point I need to make them associate to an encrypted SSID. The command that I use is:
sudo networksetup -setairportnetwork en0 test-ssid 12345678 where test-ssid is the ssid that we connect to and 12345678 is the password.
When I issue this command through SSH it halts and a pop-up window appears on the laptop GUI where it says: "networksetup wants to access key "test-ssid" in your keychain with the options "Always Allow", "Deny" and "Allow"
Is there a way to make this window not appear and have the laptop simply connect to the ssid? I don't have a regular access to the laptop GUI and the SSID names constantly change so I can't really manually hit accept every time I need to connect a bunch of laptops.
Thanks in advance!

This is basically an issue with the older OS X versions. Works fine on Yosemite which I was hesitant to upgrade to.

Related

How to change username and password in a headless connection of Jetson Nano to a windows laptop?

Is there any way to reset the process of setting up a headless connection of Jetson Nano to a windows laptop.
I used this process for headless connection:
Download and install puTTY software.
Plug the following wired connections:
• Type C USB cord in Jetson Nano's power connector to a power bank
• Type C USB cord in Jetson Nano to Laptop
• Ethernet Cable in Jetson Nano to a Globe router
Find this device in Device Manager and we'll see COM (with number indicated) in Ports. In my case, COM7
Open puTTy and type in COM7 in the Hostname and 115200 in ports.
A terminal window should open and set up begins with terms and conditions followed by inputting name and password, etc. Fill up and enter each step.
Once done, open again puTTY and now it asks for the login username and password.
This is where I can't continue because it says "login incorrect" everytime.
I would like to repeat the process from the beginning because possibly I may have a typo in inputting the username or password in the beginning or the login is faulty but I don't know how to wipe out the saved login details.
I am using a Jetson Nano called "reComputer J1010". It already has a pre-installed Jetpack 4.6.1.
And I don't know if resetting will wipe out the pre installed which I hopefully not.
I tried to reinstall puTTy but it does nothing because I open the terminal box and it asks for login username and password again and I guess the login details I'm trying to delete is in the internal storage of Jetson Nano and I can't access it.

How to capture USB traffic with Wireshark in OSX Catalina (10.15)

I am trying to get Wireshark USB captures working. Apparently the trick prior to Catalina was to just bring the interface up so that Wireshark could see it.
https://forums.developer.apple.com/thread/95380
However, this does not work in Catalina because the USB hubs are not shown as interfaces any longer. Is there another known way to "bring up" these interfaces in OSX? Perhaps a new system policy setting? How would one go about finding such a thing?
It might just be broken now. I imagine Wireshark and ifconfig use the same API to gather info about the interfaces.
You need to disable SIP first
Restart your Mac
Hold down Command-R to reboot into Recovery Mode
Click Utility->Terminal, type "csrutil disable", click Enter.
Restart your Mac
then you can use "sudo ifconfig XHC20 up" command

Is there a Mac App or command to autoconnect to SSH?

Right now I'm running a terminal with multiple tabs since I need to ssh into multiple servers to perform different tasks depending on the project. As I said I keep terminal up but it will eventually disconnect or some other hickup requiring me to either login back in or close and reopen terminal (and all my tabs/connections).
I'd like to either:
Open terminal type a command like "connect to webserver" and have it run the ssh command with password
Install an app that does this sort of thing and maybe has some extra functionality (not sure what that would be). Hopefully the app would auto connect and display windows for each connection I specify.
You should use vSSH Lite, Which is free for 2 tabs. Then you have to pay some amount.
Here is the link vSSH Lite

Remote desktop Connectivity from windows 8 to Mac

I have new Mac mini, and now my requirements is to connect my other friends pc Laptops(window 8) connected remotely with the mac, kindly guide me on the right direction for this approach achievement.
In the Mac OS System Preferences in the Menu Sharing you have to activate Screen Sharing.
The in the Computer Settings you could optionally activate a VNC password. From windows you can use one of the free VNC Clients which are out there.
(TightVNC, RealVNC and many others)
Hope this helps...

MAC Slave - SSH connection is failing

I am administrator in my new MAC m/c. (OS X 10.9.2)
I am trying to connect to the MAC via putty from a Windows m/c
I have ensured that I have given correct IP, port, user credentials.
Also /etc/sshd_config - is set as given below
PasswordAuthentication yes
But still I am getting
"Access Denied
keyboard-interactive authentication failed"
How to resolve this?
(I am not very familiar with MAC. Just bought recently and learning. So, Please try to give some detailed answers if possible. Thank You)
Open up System Preferences and click on the "Sharing" icon.
Make sure that you have "Remote Login" checked, it's off by default.

Resources