cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
223
Views
0
Helpful
1
Replies

LAB FTD REST API (FMC)

Jorge Salas
Cisco Employee
Cisco Employee

Hi Team!

I hope you are well. I am trying to do some REST API lab for FDM/FTD. For Anyconnect Modules.

 

  • Firepower Threat Defense 7.0.1
  • Cent OS 7 Development Server

I have NO issues doing SSH/HTTPS  accessing the FMC/FTD. The problem is with Cent OS7 devbox.

I use the webshell/SSH, putty and the openssh client but after a while (~1minute) it looks like I received a reset from the server (see <<<< below). For web RDP it also fails after a while and then it just shows me the cloudshell qualix windows.Do you have any advice?

time ssh developer@10.10.20.50
developer@10.10.20.50's password:
Last login: Sat Nov 25 17:34:32 2023 from 192.168.254.11
(py3venv) [developer@devbox ~]$ Command exited with non-zero status 255 <<<<<<< is 255 last error code
real 0m 42.36s <<<<
user 0m 0.04s
sys 0m 0.06s

--------
debug2: shell request accepted on channel 0
debug3: send packet: type 80
debug3: send packet: type 1
Connection reset by 10.10.20.50 port 22  <<<<<<<<< here

-------

>ssh developer@10.10.20.50
developer@10.10.20.50's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon Nov 20 05:40:17 2023 from 10.20.0.16
/usr/bin/xauth: file /home/developer/.Xauthority does not exist
(py3venv) [developer@devbox ~]$
(py3venv) [developer@devbox ~]$
(py3venv) [developer@devbox ~]$
(py3venv) [developer@devbox ~]$
(py3venv) [developer@devbox ~]$
(py3venv) [developer@devbox ~]$
(py3venv) [developer@devbox ~]$ ls
Desktop Downloads py3venv shutdown.sh
(py3venv) [developer@devbox ~]$ cat shutdown.sh
/sbin/halt -h -p
(py3venv) [developer@devbox ~]$ pyConnection reset by 10.10.20.50 port 22 <<<<<<HERE

Any help will be appreciated!

Jorge L. Salas.

 

 

 

 

1 Reply 1

Jorge Salas
Cisco Employee
Cisco Employee

NVM it looks to be working now.