Skip to content

Commit

Permalink
different SSH port
Browse files Browse the repository at this point in the history
  • Loading branch information
HalosGhost committed Oct 3, 2018
1 parent 3d2ca4a commit 2c4af0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MAINDIR ?= $(DESTDIR)$(PREFIX)
SVCDIR ?= $(DESTDIR)/usr/lib/systemd/system/
BINDIR ?= $(DESTDIR)/usr/bin
TARGET ?= oceanus.halosgho.st
PORT ?= 2222

include Makerules

Expand Down Expand Up @@ -67,8 +68,8 @@ deploy:
echo "$$i: built"; \
done; \
PKGDEST=packages makepkg -s; \
scp -r packages $(TARGET):/home/halosghost/; \
ssh $(TARGET); \
scp -P $(PORT) -r packages $(TARGET):/home/halosghost/; \
ssh -p $(PORT) $(TARGET); \
)

uninstall:
Expand Down

0 comments on commit 2c4af0b

Please sign in to comment.