Gaining root access for sftp server
putty ssh session
address: sftp.serviceexpress.com port: 2222
login as: syoung
Pre-authentication banner message from server:
| UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED
|
| You must have explicit, permission to access or configure this device.
| Unauthorized attempts to access or use this system may result in civil and/or
criminal penalties.
| All activities performed on this device are logged and monitored.
|
|
End of banner message from server
syoung@sftp.serviceexpress.com's password:
Last login: Tue Sep 12 10:03:36 2023 from 75.67.239.176
syoung@vgr-ftosftp01:~$ sudo -s
[sudo] password for syoung:
root@vgr-ftosftp01:/home/syoung# cd /srv/sftpgo/data
root@vgr-ftosftp01:/srv/sftpgo/data# ls
awyatt dweinman jdandrea pmargulis rmatu tedington
bsanborn eparent jdoe pmassey sfinkbeiner usaxena
bschulman gts-repo jhenneman pmiller sjones venkatesh
cfallon ihurlston jsipple psullivan snelson
cwatson jcaparrotta jskitt rcurry syoung
dharding jcarter jvandertill rhoover tdavis
root@vgr-ftosftp01:/srv/sftpgo/data# cd gsk-storage
bash: cd: gsk-storage: No such file or directory
root@vgr-ftosftp01:/srv/sftpgo/data#