Hi,
I was just wondering if I could port forward my pi's port (22) without the router username and password. (not the default, been changed and forgotten)
Hi,
I was just wondering if I could port forward my pi's port (22) without the router username and password. (not the default, been changed and forgotten)
No you cant.
You can change the default port in /etc/ssh/sshd_config
This will allow you to connect to sshd on another port and HIGHLY recommended if it is open to the outside world.
Please see http://www.raspians.com/Knowledgebase/how-to-change-ssh-port/
Do not forward port 22 to your pi you will have some issues with scripts banging down the door.
If you like my answer please mark it correct and/or helpful.
You don't tell us which model of router you have, though it is highly likely that you will need to access the management interface to forward traffic through your Routers firewall and onto your Pi.
Forgotten passwords can be an issue, though if you are able go disclose the model of router you are using we may be able to help.
my router is an ARRIS model TG862G/CT
Ok and
Username 'admin'
Password 'password'
aren't working?