wp-cli / admin-command

Open /wp-admin/ in a browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Admin with SSH (remote) connections

heyflorin opened this issue · comments

Does this package work with ssh (remote) connections? I just tried it and got a "xdg-open: not found" error.

@dicetomato No, that cannot work. How would the remote server be able to control your browser?

That being said, it could theoretically work if we bypass the normal SSH execution flow, and just return data from the site back to the admin command. Not sure whether that is easily doable, given the current architecture, though...