Skip to content

Commit 6d6abb0

Browse files
committed
add spctl and ssh-copy
1 parent 0da0161 commit 6d6abb0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,19 @@ iotop
180180
# Like top
181181
htop
182182

183+
# Disable ecAssessment system policy security (allow unidentified app to be started)
184+
sudo spctl --master-disable
185+
183186
# Convert PNG image sequence (image-000.png) to H.264 using ffmpeg
184187
ffmpeg -i ./image-%03d.png -f mp4 -vcodec libx264 -pix_fmt yuv420p <filename>.mp4
185188

186189
# AWS S3: Get total size and number of files of bucket
187190
aws s3api list-objects --bucket <bucket_name> --output json --query "[sum(Contents[].Size), length(Contents[])]"
188191

192+
# SSH login without password
193+
ssh-keygen -t rsa -b 2048 -v
194+
ssh-copy-id -i ~/.ssh/<cert>.pub <user>@<server-ip>
195+
189196
```
190197

191198
--------------------------

0 commit comments

Comments
 (0)