Saturday, November 16, 2019

SSH Mac OSX

SSH Mac

Set up Remote Login on your Mac
On your Mac, choose Apple menu > System Preferences, click Sharing, then select Remote Login.

Select the Remote Login checkbox.

Selecting Remote Login also enables the secure FTP (sftp) service.

Specify which users can log in:

All users: Any of your computer’s users and anyone on your network can log in.

Only these users: Click the Add button , then choose who can log in remotely. Users & Groups includes all the users of your Mac. Network Users and Network Groups include people on your network.


ssh username@IPAddress

example - ssh steve@10.1.2.3

SMS Linux

curl -X POST https://textbelt.com/text \
--data-urlencode phone='5557727420' \
--data-urlencode message='Hello world' \
-d key=textbelt

Github new repo setup

*Github new repo setup*

mkdir newAPI
cd newAPI/
git init
git remote add origin https://github.com/nickforce/newAPI.git
git pull origin master